Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 140.1 MB / 156 MB, free: 8.418 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 172.5 kB / 188.5 MB, free: 9.004 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 426.3 MB, free: 8.137 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 94.3 kB / 0.4945 GB, free: 8.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001895/0.001895, allocations: 260.4 kB / 0.5728 GB, free: 66.16 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.000521, allocations: 28 kB / 0.662 GB, free: 6.738 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5115, allocations: 79.29 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/6.067, allocations: 2.033 GB / 2.773 GB, free: 176.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/6.067, allocations: 91.95 kB / 2.773 GB, free: 176.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.328/7.395, allocations: 425.7 MB / 3.188 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.092e-06/7.395, allocations: 0 / 3.188 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.208e-05/7.395, allocations: 16 kB / 3.188 GB, free: 5.16 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002637/7.398, allocations: 1.074 MB / 3.189 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.724e-05/7.398, allocations: 8.031 kB / 3.189 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/7.4, allocations: 275.9 kB / 3.19 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/7.401, allocations: 483.6 kB / 3.19 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/7.401, allocations: 36.94 kB / 3.19 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/7.401, allocations: 48 kB / 3.19 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000986/7.402, allocations: 0.5507 MB / 3.191 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/7.402, allocations: 0 / 3.191 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/7.402, allocations: 23.98 kB / 3.191 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/7.402, allocations: 15.94 kB / 3.191 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009757/7.403, allocations: 467.6 kB / 3.191 GB, free: 2.074 MB / 0.6667 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.4724/7.876, allocations: 2.128 MB / 3.193 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/7.877, allocations: 424 kB / 3.194 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/7.878, allocations: 232.2 kB / 3.194 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006754/7.878, allocations: 393.7 kB / 3.194 GB, free: 132 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007164/7.879, allocations: 295.8 kB / 3.195 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 4.047e-06/7.879, allocations: 4.484 kB / 3.195 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.002206/7.881, allocations: 0.7122 MB / 3.195 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/7.881, allocations: 59.2 kB / 3.195 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/7.882, allocations: 498.1 kB / 3.196 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/7.882, allocations: 34.67 kB / 3.196 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/7.882, allocations: 264.7 kB / 3.196 GB, free: 131.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/7.883, allocations: 126.1 kB / 3.196 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/7.883, allocations: 8.938 kB / 3.196 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001374/7.883, allocations: 365.1 kB / 3.197 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/7.883, allocations: 206.5 kB / 3.197 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/7.884, allocations: 340.5 kB / 3.197 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/7.885, allocations: 0.5568 MB / 3.198 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/7.885, allocations: 1.062 kB / 3.198 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001624/7.887, allocations: 0.6667 MB / 3.198 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/7.887, allocations: 63.86 kB / 3.198 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/7.887, allocations: 3.344 kB / 3.198 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/7.887, allocations: 5.672 kB / 3.198 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/7.887, allocations: 104.5 kB / 3.199 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/7.888, allocations: 11.3 kB / 3.199 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/7.888, allocations: 101 kB / 3.199 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/7.888, allocations: 23.47 kB / 3.199 GB, free: 130.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0003547/7.889, allocations: 190.2 kB / 3.199 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/7.889, allocations: 54.2 kB / 3.199 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/7.89, allocations: 0.5583 MB / 3.199 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/7.89, allocations: 7.703 kB / 3.199 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/7.89, allocations: 3.938 kB / 3.199 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/7.89, allocations: 0 / 3.199 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/7.893, allocations: 1.361 MB / 3.201 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/7.893, allocations: 4.656 kB / 3.201 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/7.893, allocations: 75.48 kB / 3.201 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/7.893, allocations: 4.812 kB / 3.201 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/7.893, allocations: 18.47 kB / 3.201 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/7.893, allocations: 10.31 kB / 3.201 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/7.893, allocations: 6.469 kB / 3.201 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/7.895, allocations: 0.9642 MB / 3.202 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/7.895, allocations: 170.7 kB / 3.202 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/7.895, allocations: 10.88 kB / 3.202 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/7.895, allocations: 48.94 kB / 3.202 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/7.896, allocations: 56.77 kB / 3.202 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/7.896, allocations: 13.91 kB / 3.202 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004093/7.896, allocations: 350.3 kB / 3.202 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/7.896, allocations: 0 / 3.202 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001291/7.897, allocations: 283.5 kB / 3.203 GB, free: 129.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002651/7.9, allocations: 1.478 MB / 3.204 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001512/7.902, allocations: 0.5951 MB / 3.205 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/7.902, allocations: 0 / 3.205 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/7.902, allocations: 300.8 kB / 3.205 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/7.904, allocations: 275.2 kB / 3.205 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/7.906, allocations: 1.21 MB / 3.206 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/7.907, allocations: 0.8658 MB / 3.207 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006549/7.907, allocations: 122.5 kB / 3.207 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/7.908, allocations: 47.2 kB / 3.207 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of SimCode: time 2.976e-06/7.908, allocations: 3.688 kB / 3.207 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.04256/7.95, allocations: 27.45 MB / 3.234 GB, free: 127.4 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)