Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006587/0.006587, allocations: 99.95 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 187.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 274.7 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9753/0.9753, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 96.22 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1759, allocations: 86.97 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5698/0.7458, allocations: 193.8 MB / 0.9557 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008787/0.7546, allocations: 5.162 MB / 0.9607 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008294/0.7555, allocations: 47.62 kB / 0.9608 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.7573, allocations: 0.8159 MB / 0.9616 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.7639, allocations: 2.598 MB / 0.9641 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.7665, allocations: 1.111 MB / 0.9652 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002968/0.7695, allocations: 2.679 MB / 0.9678 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.7706, allocations: 0.9367 MB / 0.9687 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.7722, allocations: 1.144 MB / 0.9698 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.7733, allocations: 0.9807 MB / 0.9708 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.7734, allocations: 88 kB / 0.9709 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.7766, allocations: 1.793 MB / 0.9726 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.7769, allocations: 458.6 kB / 0.9731 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.7775, allocations: 0.6604 MB / 0.9737 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.7802, allocations: 2.231 MB / 0.9759 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7803, allocations: 0 / 0.9759 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7803, allocations: 0 / 0.9759 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.7803, allocations: 0 / 0.9759 GB, free: 12.13 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004914/0.7852, allocations: 1.961 MB / 0.9778 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.7853, allocations: 12.03 kB / 0.9778 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005603/0.7909, allocations: 0.8916 MB / 0.9787 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.7926, allocations: 0.9683 MB / 0.9796 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.7927, allocations: 73.94 kB / 0.9797 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.7929, allocations: 95.92 kB / 0.9798 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/0.7965, allocations: 1.579 MB / 0.9813 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.7965, allocations: 7.938 kB / 0.9813 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.7966, allocations: 35.98 kB / 0.9814 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.7967, allocations: 45.98 kB / 0.9814 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005071/0.8018, allocations: 1.842 MB / 0.9832 GB, free: 4.473 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/0.8093, allocations: 4.726 MB / 0.9878 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.8138, allocations: 1.572 MB / 0.9894 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.8161, allocations: 0.8585 MB / 0.9902 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.8174, allocations: 0.9374 MB / 0.9911 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002466/0.8198, allocations: 0.9187 MB / 0.992 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.036e-06/0.8199, allocations: 0 / 0.992 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007962/0.8278, allocations: 2.446 MB / 0.9944 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.8279, allocations: 64.41 kB / 0.9945 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.8295, allocations: 1.201 MB / 0.9956 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.8297, allocations: 49.7 kB / 0.9957 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.8301, allocations: 0.5447 MB / 0.9962 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.8304, allocations: 323.4 kB / 0.9965 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.8308, allocations: 186.5 kB / 0.9967 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8309, allocations: 345.9 kB / 0.997 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.8331, allocations: 0.6927 MB / 0.9977 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.8354, allocations: 0.9191 MB / 0.9986 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.8398, allocations: 1.546 MB / 1 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.8399, allocations: 0 / 1 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005292/0.8452, allocations: 1.787 MB / 1.002 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.8452, allocations: 8 kB / 1.002 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.8452, allocations: 4 kB / 1.002 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/0.8453, allocations: 8 kB / 1.002 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.8471, allocations: 344.5 kB / 1.002 GB, free: 400 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/0.8472, allocations: 8 kB / 1.002 GB, free: 392 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.8489, allocations: 238.7 kB / 1.002 GB, free: 152 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.849, allocations: 51.91 kB / 1.002 GB, free: 100 kB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005948/0.8496, allocations: 334.7 kB / 1.003 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.8499, allocations: 142.3 kB / 1.003 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/0.8551, allocations: 1.796 MB / 1.005 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.8551, allocations: 12 kB / 1.005 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8551, allocations: 0 / 1.005 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.8551, allocations: 7.922 kB / 1.005 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00742/0.8626, allocations: 3.317 MB / 1.008 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.8626, allocations: 4.094 kB / 1.008 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.8643, allocations: 292 kB / 1.008 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.8643, allocations: 8 kB / 1.008 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.8644, allocations: 35.97 kB / 1.008 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.8644, allocations: 12.94 kB / 1.008 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8644, allocations: 4 kB / 1.008 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007276/0.8717, allocations: 2.843 MB / 1.011 GB, free: 7.117 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/0.8723, allocations: 327.2 kB / 1.011 GB, free: 6.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.8726, allocations: 24 kB / 1.011 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.874, allocations: 151.8 kB / 1.012 GB, free: 6.605 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.8742, allocations: 76.44 kB / 1.012 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/0.8743, allocations: 41.78 kB / 1.012 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000972/0.8753, allocations: 0.8315 MB / 1.012 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.484e-06/0.8753, allocations: 0 / 1.012 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009986/0.8763, allocations: 347.5 kB / 1.013 GB, free: 5.316 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.8775, allocations: 0.5374 MB / 1.013 GB, free: 4.945 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004844/0.8824, allocations: 1.638 MB / 1.015 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8824, allocations: 0 / 1.015 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.8848, allocations: 0.8361 MB / 1.016 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.8874, allocations: 0.6091 MB / 1.016 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.894, allocations: 2.986 MB / 1.019 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.8952, allocations: 1.187 MB / 1.02 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001608/0.8969, allocations: 362 kB / 1.021 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/0.8974, allocations: 115.4 kB / 1.021 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of SimCode: time 7.91e-07/0.8974, allocations: 0 / 1.021 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.03859/0.936, allocations: 24.36 MB / 1.045 GB, free: 5.113 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)