Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.661/1.661, allocations: 297.8 MB / 313.7 MB, free: 64 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 179.8 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009258, allocations: 99.72 kB / 0.7808 GB, free: 43.68 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003951, allocations: 13.44 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6975, allocations: 120.3 MB / 1.026 GB, free: 56.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.52/5.217, allocations: 2.15 GB / 3.177 GB, free: 55.75 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/5.218, allocations: 88.66 kB / 3.177 GB, free: 55.67 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.32/7.537, allocations: 0.5988 GB / 3.775 GB, free: 230.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.164e-06/7.537, allocations: 0 / 3.775 GB, free: 230.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001645/7.538, allocations: 39.38 kB / 3.775 GB, free: 230.2 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003827/7.541, allocations: 1.528 MB / 3.777 GB, free: 229.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/7.541, allocations: 6.844 kB / 3.777 GB, free: 229.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/7.544, allocations: 0.579 MB / 3.778 GB, free: 228.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/7.547, allocations: 0.9753 MB / 3.778 GB, free: 228.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/7.547, allocations: 61.53 kB / 3.779 GB, free: 228.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/7.547, allocations: 84.11 kB / 3.779 GB, free: 228.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/7.55, allocations: 1.105 MB / 3.78 GB, free: 227.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/7.55, allocations: 3.938 kB / 3.78 GB, free: 227.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/7.55, allocations: 30.84 kB / 3.78 GB, free: 227.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/7.55, allocations: 18.59 kB / 3.78 GB, free: 227.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/7.553, allocations: 0.9997 MB / 3.781 GB, free: 226.9 MB / 0.9948 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.005197/7.558, allocations: 4.98 MB / 3.786 GB, free: 222.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/7.56, allocations: 0.9561 MB / 3.787 GB, free: 222.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/7.561, allocations: 496.8 kB / 3.787 GB, free: 221.9 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009533/7.562, allocations: 1.594 MB / 3.789 GB, free: 220.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/7.564, allocations: 0.5782 MB / 3.789 GB, free: 219.8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=61): time 2.956e-06/7.564, allocations: 2.969 kB / 3.789 GB, free: 219.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=61): time 0.003966/7.568, allocations: 1.515 MB / 3.791 GB, free: 219.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/7.568, allocations: 59.47 kB / 3.791 GB, free: 219 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/7.569, allocations: 1.128 MB / 3.792 GB, free: 218.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/7.569, allocations: 41.36 kB / 3.792 GB, free: 218.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/7.57, allocations: 0.5475 MB / 3.792 GB, free: 217.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/7.57, allocations: 211.5 kB / 3.793 GB, free: 217.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/7.57, allocations: 15.97 kB / 3.793 GB, free: 217.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.043e-05/7.57, allocations: 333.6 kB / 3.793 GB, free: 217.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/7.571, allocations: 458 kB / 3.793 GB, free: 217.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/7.572, allocations: 0.7755 MB / 3.794 GB, free: 216.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/7.575, allocations: 1.129 MB / 3.795 GB, free: 215.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/7.575, allocations: 0 / 3.795 GB, free: 215.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003038/7.578, allocations: 1.289 MB / 3.796 GB, free: 215.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/7.578, allocations: 12.44 kB / 3.796 GB, free: 215.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/7.578, allocations: 7.875 kB / 3.796 GB, free: 215.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/7.578, allocations: 11.81 kB / 3.796 GB, free: 215.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/7.579, allocations: 279.9 kB / 3.797 GB, free: 215.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/7.579, allocations: 19.39 kB / 3.797 GB, free: 215.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/7.58, allocations: 214.3 kB / 3.797 GB, free: 215.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/7.581, allocations: 50.31 kB / 3.797 GB, free: 215.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0005606/7.581, allocations: 301.7 kB / 3.797 GB, free: 214.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/7.581, allocations: 123.8 kB / 3.797 GB, free: 214.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/7.585, allocations: 1.426 MB / 3.799 GB, free: 214.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/7.585, allocations: 19.73 kB / 3.799 GB, free: 214.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/7.585, allocations: 0 / 3.799 GB, free: 214.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/7.585, allocations: 7.922 kB / 3.799 GB, free: 214.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/7.589, allocations: 2.476 MB / 3.801 GB, free: 212.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/7.589, allocations: 5.594 kB / 3.801 GB, free: 212.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/7.59, allocations: 198.6 kB / 3.801 GB, free: 212.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/7.59, allocations: 7.531 kB / 3.801 GB, free: 212.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/7.59, allocations: 23.59 kB / 3.801 GB, free: 212.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/7.59, allocations: 7.594 kB / 3.801 GB, free: 212.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.59, allocations: 7.531 kB / 3.801 GB, free: 212.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004227/7.594, allocations: 2.041 MB / 3.803 GB, free: 211.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/7.595, allocations: 311.7 kB / 3.804 GB, free: 211.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/7.595, allocations: 23.3 kB / 3.804 GB, free: 211.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/7.596, allocations: 139.2 kB / 3.804 GB, free: 211.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/7.596, allocations: 54.62 kB / 3.804 GB, free: 211.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/7.597, allocations: 34.47 kB / 3.804 GB, free: 211.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001124/7.598, allocations: 0.7701 MB / 3.805 GB, free: 210.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.598, allocations: 0 / 3.805 GB, free: 210.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001516/7.599, allocations: 387.8 kB / 3.805 GB, free: 210.7 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001859/7.601, allocations: 0.8194 MB / 3.806 GB, free: 210.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002975/7.604, allocations: 1.145 MB / 3.807 GB, free: 209.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/7.604, allocations: 0 / 3.807 GB, free: 209.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/7.606, allocations: 0.5939 MB / 3.808 GB, free: 209.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/7.608, allocations: 441 kB / 3.808 GB, free: 209.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005392/7.614, allocations: 2.766 MB / 3.811 GB, free: 207.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/7.614, allocations: 1.116 MB / 3.812 GB, free: 206.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001414/7.616, allocations: 256.6 kB / 3.812 GB, free: 206.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/7.616, allocations: 113.1 kB / 3.812 GB, free: 206.7 MB / 0.9948 GB Notification: Performance of SimCode: time 7.41e-07/7.616, allocations: 0 / 3.812 GB, free: 206.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.03497/7.651, allocations: 21.73 MB / 3.833 GB, free: 190 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)