Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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) 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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.222/2.222, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001377, allocations: 170.8 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009921/0.0009917, allocations: 97.83 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006528/0.0006532, allocations: 15.19 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2179, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.664/6.882, allocations: 2.181 GB / 3.081 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/6.882, allocations: 90.77 kB / 3.081 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.711/9.593, allocations: 412 MB / 3.483 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.046e-06/9.593, allocations: 0 / 3.483 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.072e-05/9.593, allocations: 18.88 kB / 3.483 GB, free: 225.5 MB / 0.8855 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.003326/9.597, allocations: 1.068 MB / 3.484 GB, free: 225 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/9.597, allocations: 10.91 kB / 3.484 GB, free: 225 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/9.6, allocations: 282 kB / 3.484 GB, free: 225 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/9.601, allocations: 469.5 kB / 3.485 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/9.601, allocations: 29.97 kB / 3.485 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/9.601, allocations: 50.66 kB / 3.485 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/9.603, allocations: 0.5528 MB / 3.486 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/9.603, allocations: 3.531 kB / 3.486 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/9.603, allocations: 21.16 kB / 3.486 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/9.603, allocations: 11.22 kB / 3.486 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/9.605, allocations: 466.6 kB / 3.486 GB, free: 224.6 MB / 0.8855 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.003912/9.609, allocations: 2.137 MB / 3.488 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/9.611, allocations: 419.1 kB / 3.488 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/9.611, allocations: 236.4 kB / 3.489 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009094/9.612, allocations: 397.2 kB / 3.489 GB, free: 223 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009703/9.613, allocations: 294.9 kB / 3.489 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 3.476e-06/9.613, allocations: 0 / 3.489 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.00301/9.616, allocations: 0.7101 MB / 3.49 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/9.617, allocations: 61.77 kB / 3.49 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/9.617, allocations: 492.7 kB / 3.491 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/9.617, allocations: 36.2 kB / 3.491 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/9.618, allocations: 266.6 kB / 3.491 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/9.618, allocations: 126.4 kB / 3.491 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/9.618, allocations: 11.34 kB / 3.491 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001106/9.618, allocations: 366.6 kB / 3.491 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/9.619, allocations: 207.1 kB / 3.492 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009653/9.62, allocations: 344.8 kB / 3.492 GB, free: 222 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009043/9.621, allocations: 289.4 kB / 3.492 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/9.621, allocations: 0 / 3.492 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002165/9.623, allocations: 0.6695 MB / 3.493 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/9.623, allocations: 66.3 kB / 3.493 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/9.623, allocations: 3.938 kB / 3.493 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/9.623, allocations: 3.594 kB / 3.493 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009195/9.624, allocations: 101.1 kB / 3.493 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/9.624, allocations: 7 kB / 3.493 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/9.625, allocations: 94.88 kB / 3.493 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/9.625, allocations: 29.56 kB / 3.493 GB, free: 221.7 MB / 0.8855 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.0003955/9.626, allocations: 193.9 kB / 3.493 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/9.626, allocations: 53.59 kB / 3.493 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/9.628, allocations: 0.5519 MB / 3.494 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/9.628, allocations: 6.781 kB / 3.494 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/9.628, allocations: 3.281 kB / 3.494 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/9.628, allocations: 0 / 3.494 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/9.632, allocations: 1.351 MB / 3.495 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/9.632, allocations: 3.156 kB / 3.495 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/9.632, allocations: 88.16 kB / 3.495 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/9.632, allocations: 6.906 kB / 3.495 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/9.632, allocations: 19.47 kB / 3.495 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/9.632, allocations: 3.75 kB / 3.495 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/9.633, allocations: 6.812 kB / 3.495 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/9.635, allocations: 0.9543 MB / 3.496 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/9.636, allocations: 168.4 kB / 3.496 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/9.636, allocations: 19.47 kB / 3.496 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/9.637, allocations: 52.98 kB / 3.496 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/9.637, allocations: 50.31 kB / 3.497 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/9.637, allocations: 21.38 kB / 3.497 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005995/9.638, allocations: 335.9 kB / 3.497 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/9.638, allocations: 3.625 kB / 3.497 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001406/9.639, allocations: 288.7 kB / 3.497 GB, free: 220.6 MB / 0.8855 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.002626/9.642, allocations: 1.47 MB / 3.499 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002128/9.644, allocations: 0.5957 MB / 3.499 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/9.644, allocations: 3.188 kB / 3.499 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/9.645, allocations: 294.7 kB / 3.499 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/9.648, allocations: 281.5 kB / 3.5 GB, free: 220 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/9.65, allocations: 1.224 MB / 3.501 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/9.651, allocations: 0.8646 MB / 3.502 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001008/9.652, allocations: 129.1 kB / 3.502 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/9.652, allocations: 40.16 kB / 3.502 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.012e-06/9.652, allocations: 0 / 3.502 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.06116/9.713, allocations: 27.27 MB / 3.529 GB, free: 218 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)