Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9353/0.9353, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 181.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008662, allocations: 101.4 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 266.9 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.288e-05/5.315e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.4947, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.883/5.378, allocations: 1.834 GB / 2.599 GB, free: 172.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/5.379, allocations: 87.61 kB / 2.599 GB, free: 172.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.038/9.416, allocations: 1.019 GB / 3.618 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.202e-06/9.416, allocations: 0 / 3.618 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001073/9.416, allocations: 47.11 kB / 3.618 GB, free: 128.5 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006841/9.423, allocations: 1.836 MB / 3.62 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/9.423, allocations: 9.781 kB / 3.62 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/9.428, allocations: 0.6883 MB / 3.621 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004504/9.433, allocations: 1.081 MB / 3.622 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/9.433, allocations: 70.86 kB / 3.622 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/9.433, allocations: 88.28 kB / 3.622 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/9.435, allocations: 1.253 MB / 3.623 GB, free: 127.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/9.435, allocations: 1.031 kB / 3.623 GB, free: 127.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/9.435, allocations: 31.09 kB / 3.623 GB, free: 127.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/9.435, allocations: 41.2 kB / 3.623 GB, free: 127.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/9.437, allocations: 1.015 MB / 3.624 GB, free: 127.3 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.007161/9.444, allocations: 5.333 MB / 3.629 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/9.446, allocations: 0.9137 MB / 3.63 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/9.446, allocations: 498.9 kB / 3.631 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/9.447, allocations: 0.9452 MB / 3.632 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000822/9.448, allocations: 0.6099 MB / 3.632 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.067e-06/9.448, allocations: 0 / 3.632 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.002415/9.45, allocations: 1.153 MB / 3.633 GB, free: 123.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/9.451, allocations: 59.09 kB / 3.633 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/9.452, allocations: 1.116 MB / 3.634 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.355e-05/9.452, allocations: 49.42 kB / 3.634 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/9.452, allocations: 0.5821 MB / 3.635 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/9.453, allocations: 284.2 kB / 3.635 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/9.453, allocations: 20.44 kB / 3.635 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/9.453, allocations: 342 kB / 3.636 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/9.453, allocations: 428.7 kB / 3.636 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007771/9.454, allocations: 0.7375 MB / 3.637 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/9.455, allocations: 480.7 kB / 3.637 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/9.455, allocations: 3.906 kB / 3.637 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001826/9.457, allocations: 1.245 MB / 3.638 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/9.457, allocations: 8.219 kB / 3.638 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/9.457, allocations: 9.078 kB / 3.638 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/9.457, allocations: 10.81 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/9.458, allocations: 319.3 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/9.458, allocations: 19.69 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/9.46, allocations: 232 kB / 3.639 GB, free: 122.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/9.46, allocations: 56.17 kB / 3.639 GB, free: 122.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002428/9.46, allocations: 172.9 kB / 3.639 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/9.46, allocations: 144.1 kB / 3.639 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/9.462, allocations: 1.25 MB / 3.641 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/9.462, allocations: 10.66 kB / 3.641 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/9.462, allocations: 0 / 3.641 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/9.462, allocations: 3.422 kB / 3.641 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/9.467, allocations: 2.766 MB / 3.643 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/9.467, allocations: 6.25 kB / 3.643 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/9.468, allocations: 256.4 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/9.468, allocations: 9.812 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.074e-05/9.468, allocations: 34.62 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/9.468, allocations: 19.62 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/9.468, allocations: 3.938 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/9.471, allocations: 2.203 MB / 3.646 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008045/9.471, allocations: 355.8 kB / 3.646 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/9.472, allocations: 29.61 kB / 3.646 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/9.473, allocations: 137.4 kB / 3.646 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/9.473, allocations: 75.2 kB / 3.646 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-05/9.473, allocations: 40.17 kB / 3.646 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001196/9.474, allocations: 0.8657 MB / 3.647 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/9.474, allocations: 0 / 3.647 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002003/9.476, allocations: 0.4998 MB / 3.648 GB, free: 120.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003309/9.48, allocations: 1.981 MB / 3.65 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001834/9.481, allocations: 1.051 MB / 3.651 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/9.481, allocations: 0 / 3.651 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008163/9.482, allocations: 0.5406 MB / 3.651 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/9.485, allocations: 0.5944 MB / 3.652 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/9.489, allocations: 2.075 MB / 3.654 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/9.49, allocations: 1.207 MB / 3.655 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001617/9.492, allocations: 393.1 kB / 3.655 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/9.492, allocations: 126.4 kB / 3.656 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/9.492, allocations: 0 / 3.656 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.06293/9.555, allocations: 47.62 MB / 3.702 GB, free: 116.4 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)