Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8055/0.8055, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001124/0.001123, allocations: 187.4 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.491/1.491, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009742/0.0009743, allocations: 95.22 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 274.5 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.808e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4886, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.844/5.332, allocations: 1.834 GB / 2.599 GB, free: 172.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/5.333, allocations: 93.5 kB / 2.599 GB, free: 172.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.15/9.482, allocations: 1.019 GB / 3.618 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.492e-06/9.482, allocations: 3.406 kB / 3.618 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001597/9.483, allocations: 44.75 kB / 3.618 GB, free: 128.7 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.00749/9.49, allocations: 1.843 MB / 3.62 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/9.49, allocations: 11.69 kB / 3.62 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/9.494, allocations: 0.6911 MB / 3.621 GB, free: 128 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/9.498, allocations: 1.079 MB / 3.622 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.801e-05/9.498, allocations: 65.12 kB / 3.622 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/9.499, allocations: 88.05 kB / 3.622 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/9.501, allocations: 1.263 MB / 3.623 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/9.501, allocations: 3.75 kB / 3.623 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/9.501, allocations: 30.75 kB / 3.623 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/9.501, allocations: 40.22 kB / 3.623 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/9.502, allocations: 0.997 MB / 3.624 GB, free: 127.5 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.007545/9.51, allocations: 5.789 MB / 3.63 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/9.511, allocations: 0.9383 MB / 3.631 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006434/9.512, allocations: 0.4901 MB / 3.631 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/9.513, allocations: 0.5873 MB / 3.632 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008031/9.513, allocations: 0.5953 MB / 3.632 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.727e-06/9.513, allocations: 0 / 3.632 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.002137/9.516, allocations: 1.104 MB / 3.633 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/9.516, allocations: 63.39 kB / 3.634 GB, free: 123.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/9.517, allocations: 1.09 MB / 3.635 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/9.517, allocations: 50.95 kB / 3.635 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/9.517, allocations: 0.5832 MB / 3.635 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/9.518, allocations: 280.9 kB / 3.635 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/9.518, allocations: 19.66 kB / 3.635 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.264e-05/9.518, allocations: 337.7 kB / 3.636 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/9.518, allocations: 422.5 kB / 3.636 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007888/9.519, allocations: 0.7503 MB / 3.637 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/9.52, allocations: 472.3 kB / 3.637 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/9.52, allocations: 8.828 kB / 3.637 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001853/9.522, allocations: 1.249 MB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/9.522, allocations: 11.19 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/9.522, allocations: 7.188 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/9.522, allocations: 12.94 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/9.523, allocations: 316.2 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/9.523, allocations: 21.95 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/9.525, allocations: 235.6 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/9.525, allocations: 65.95 kB / 3.639 GB, free: 122.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0002292/9.525, allocations: 170.1 kB / 3.639 GB, free: 122.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/9.525, allocations: 140.1 kB / 3.64 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/9.527, allocations: 1.216 MB / 3.641 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/9.527, allocations: 10.69 kB / 3.641 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/9.527, allocations: 3.953 kB / 3.641 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/9.527, allocations: 10.08 kB / 3.641 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/9.531, allocations: 2.742 MB / 3.643 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/9.531, allocations: 3.938 kB / 3.643 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/9.533, allocations: 257.1 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/9.533, allocations: 7.219 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/9.533, allocations: 33.73 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/9.533, allocations: 9.734 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/9.533, allocations: 8.219 kB / 3.644 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/9.536, allocations: 2.171 MB / 3.646 GB, free: 121 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007634/9.536, allocations: 345 kB / 3.646 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/9.537, allocations: 24 kB / 3.646 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/9.538, allocations: 144.4 kB / 3.646 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/9.538, allocations: 67.97 kB / 3.646 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/9.538, allocations: 39.55 kB / 3.646 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001039/9.539, allocations: 0.8443 MB / 3.647 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/9.539, allocations: 0 / 3.647 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002021/9.541, allocations: 0.5057 MB / 3.648 GB, free: 120.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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.003395/9.544, allocations: 1.981 MB / 3.65 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002031/9.546, allocations: 1.051 MB / 3.651 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/9.547, allocations: 3.062 kB / 3.651 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/9.547, allocations: 0.5361 MB / 3.651 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/9.55, allocations: 0.5683 MB / 3.652 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/9.565, allocations: 2.768 MB / 3.655 GB, free: 119.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/9.566, allocations: 1.216 MB / 3.656 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001914/9.567, allocations: 379.8 kB / 3.656 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/9.568, allocations: 121.9 kB / 3.656 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/9.568, allocations: 0 / 3.656 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.05912/9.627, allocations: 46.77 MB / 3.702 GB, free: 116.6 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)