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.8609/0.8609, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 176.6 kB / 182.2 MB, free: 9.461 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.579/1.579, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.001006/0.001005, allocations: 92.03 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 287.9 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.669e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.4995, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.763/5.263, allocations: 1.834 GB / 2.591 GB, free: 226.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/5.263, allocations: 87.83 kB / 2.591 GB, free: 226.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.445/8.708, allocations: 1.008 GB / 3.599 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/8.708, allocations: 0 / 3.599 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002485/8.708, allocations: 39.98 kB / 3.599 GB, free: 9.398 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.009208/8.717, allocations: 1.838 MB / 3.601 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/8.717, allocations: 12.03 kB / 3.601 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/8.722, allocations: 0.6944 MB / 3.601 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004336/8.726, allocations: 1.083 MB / 3.602 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/8.726, allocations: 28 kB / 3.603 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003926/8.727, allocations: 52 kB / 3.603 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00206/8.729, allocations: 0.8707 MB / 3.603 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/8.731, allocations: 1.141 MB / 3.605 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/8.731, allocations: 3.938 kB / 3.605 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/8.731, allocations: 8 kB / 3.605 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/8.732, allocations: 37.98 kB / 3.605 GB, free: 3.469 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.5353/9.267, allocations: 5.092 MB / 3.61 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/9.269, allocations: 0.8767 MB / 3.61 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007888/9.27, allocations: 476.3 kB / 3.611 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/9.271, allocations: 0.943 MB / 3.612 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/9.272, allocations: 0.5897 MB / 3.612 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.567e-06/9.272, allocations: 0 / 3.612 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.003241/9.275, allocations: 1.124 MB / 3.613 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/9.275, allocations: 66.69 kB / 3.614 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/9.277, allocations: 0.8483 MB / 3.614 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/9.277, allocations: 33.3 kB / 3.614 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005894/9.277, allocations: 0.5905 MB / 3.615 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/9.278, allocations: 270.4 kB / 3.615 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/9.278, allocations: 0 / 3.615 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001036/9.278, allocations: 340.8 kB / 3.616 GB, free: 133 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/9.279, allocations: 413.7 kB / 3.616 GB, free: 133 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008544/9.279, allocations: 0.7098 MB / 3.617 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008694/9.28, allocations: 462.2 kB / 3.617 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/9.28, allocations: 2.125 kB / 3.617 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002164/9.283, allocations: 1.168 MB / 3.618 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/9.283, allocations: 9.281 kB / 3.618 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/9.283, allocations: 7.406 kB / 3.618 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.244e-05/9.283, allocations: 14.81 kB / 3.618 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/9.284, allocations: 310.7 kB / 3.619 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/9.284, allocations: 15.27 kB / 3.619 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/9.286, allocations: 189.2 kB / 3.619 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/9.286, allocations: 63.59 kB / 3.619 GB, free: 132.5 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.0002513/9.286, allocations: 143.4 kB / 3.619 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/9.287, allocations: 116.7 kB / 3.619 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/9.289, allocations: 1.188 MB / 3.62 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/9.289, allocations: 7.031 kB / 3.62 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/9.289, allocations: 0 / 3.62 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/9.289, allocations: 10.06 kB / 3.62 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/9.293, allocations: 2.6 MB / 3.623 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/9.293, allocations: 8.391 kB / 3.623 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/9.295, allocations: 259.3 kB / 3.623 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/9.295, allocations: 4.688 kB / 3.623 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/9.295, allocations: 25.02 kB / 3.623 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/9.295, allocations: 14.7 kB / 3.623 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/9.295, allocations: 5.875 kB / 3.623 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/9.297, allocations: 2.121 MB / 3.625 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/9.298, allocations: 327.7 kB / 3.625 GB, free: 131 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/9.298, allocations: 14.03 kB / 3.625 GB, free: 131 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/9.299, allocations: 132 kB / 3.626 GB, free: 131 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/9.299, allocations: 62.66 kB / 3.626 GB, free: 131 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/9.3, allocations: 41.36 kB / 3.626 GB, free: 131 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008101/9.3, allocations: 0.6412 MB / 3.626 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.423e-06/9.3, allocations: 0 / 3.626 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001578/9.302, allocations: 458.2 kB / 3.627 GB, free: 130.9 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.003197/9.305, allocations: 2.171 MB / 3.629 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001666/9.307, allocations: 0.9999 MB / 3.63 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/9.307, allocations: 0.875 kB / 3.63 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009341/9.308, allocations: 0.5207 MB / 3.63 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/9.31, allocations: 435.8 kB / 3.631 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/9.314, allocations: 1.98 MB / 3.633 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/9.314, allocations: 1.211 MB / 3.634 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001567/9.316, allocations: 357.6 kB / 3.634 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/9.316, allocations: 118.9 kB / 3.634 GB, free: 129 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/9.316, allocations: 3.844 kB / 3.634 GB, free: 129 MB / 0.7136 GB Notification: Performance of Templates: time 0.04607/9.362, allocations: 27.56 MB / 3.661 GB, free: 128.5 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)