Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5739/0.5739, allocations: 95.61 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001051/0.001051, allocations: 162.2 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.566/1.566, allocations: 170.7 MB / 328.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.0019/0.0019, allocations: 120.4 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1572, allocations: 61.52 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.89/13.04, allocations: 5.247 GB / 5.759 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004508/13.04, allocations: 89.95 kB / 5.759 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.045/14.09, allocations: 342.8 MB / 6.094 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/14.09, allocations: 4 kB / 6.094 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.02e-05/14.09, allocations: 27.92 kB / 6.094 GB, free: 35.48 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002513/14.09, allocations: 1.099 MB / 6.095 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/14.09, allocations: 11.98 kB / 6.095 GB, free: 34.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/14.09, allocations: 95.05 kB / 6.095 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/14.09, allocations: 0.4933 MB / 6.095 GB, free: 33.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/14.09, allocations: 49.23 kB / 6.095 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/14.09, allocations: 56 kB / 6.096 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/14.09, allocations: 0.7903 MB / 6.096 GB, free: 32.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/14.09, allocations: 0 / 6.096 GB, free: 32.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/14.09, allocations: 28 kB / 6.096 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/14.09, allocations: 16 kB / 6.096 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/14.1, allocations: 0.7545 MB / 6.097 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/14.1, allocations: 2.733 MB / 6.1 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/14.1, allocations: 329.2 kB / 6.1 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/14.1, allocations: 218.1 kB / 6.1 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006972/14.1, allocations: 0.5174 MB / 6.101 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 3.527e-06/14.1, allocations: 4 kB / 6.101 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.001554/14.1, allocations: 0.7356 MB / 6.101 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/14.1, allocations: 0.7804 MB / 6.102 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/14.1, allocations: 0.5813 MB / 6.103 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/14.1, allocations: 33.7 kB / 6.103 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/14.1, allocations: 347.2 kB / 6.103 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/14.1, allocations: 142.1 kB / 6.103 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/14.1, allocations: 8 kB / 6.103 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001474/14.1, allocations: 378.8 kB / 6.104 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/14.1, allocations: 233 kB / 6.104 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/14.1, allocations: 496.8 kB / 6.104 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/14.11, allocations: 317.2 kB / 6.105 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/14.11, allocations: 7.938 kB / 6.105 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001401/14.11, allocations: 0.7713 MB / 6.105 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/14.11, allocations: 37.77 kB / 6.105 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/14.11, allocations: 4 kB / 6.105 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/14.11, allocations: 8 kB / 6.105 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/14.11, allocations: 147.8 kB / 6.106 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/14.11, allocations: 8 kB / 6.106 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/14.11, allocations: 127.1 kB / 6.106 GB, free: 22.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/14.11, allocations: 39.86 kB / 6.106 GB, free: 22.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0004072/14.11, allocations: 233.6 kB / 6.106 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/14.11, allocations: 79.16 kB / 6.106 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/14.11, allocations: 0.6704 MB / 6.107 GB, free: 21.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/14.11, allocations: 8 kB / 6.107 GB, free: 21.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/14.11, allocations: 4 kB / 6.107 GB, free: 21.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/14.11, allocations: 7.984 kB / 6.107 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/14.11, allocations: 1.339 MB / 6.108 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/14.11, allocations: 7.984 kB / 6.108 GB, free: 19.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/14.11, allocations: 88.08 kB / 6.108 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/14.11, allocations: 4 kB / 6.108 GB, free: 19.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/14.11, allocations: 20.09 kB / 6.108 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/14.11, allocations: 11.94 kB / 6.108 GB, free: 19.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/14.11, allocations: 4 kB / 6.108 GB, free: 19.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/14.11, allocations: 1.054 MB / 6.109 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/14.11, allocations: 263.8 kB / 6.109 GB, free: 18.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/14.11, allocations: 16 kB / 6.109 GB, free: 18.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/14.12, allocations: 52.02 kB / 6.11 GB, free: 18.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/14.12, allocations: 47.83 kB / 6.11 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/14.12, allocations: 24 kB / 6.11 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006957/14.12, allocations: 0.5927 MB / 6.11 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/14.12, allocations: 0 / 6.11 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002143/14.12, allocations: 0.5268 MB / 6.111 GB, free: 17.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (temDyn.T) * Number of discrete variables: 3 ($whenCondition1,m_flow.T_start,m_flow.count) * Number of discrete states: 1 (m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.002179/14.12, allocations: 1.258 MB / 6.112 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001175/14.12, allocations: 0.6201 MB / 6.113 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/14.12, allocations: 7.938 kB / 6.113 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005235/14.12, allocations: 288.4 kB / 6.113 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/14.12, allocations: 390.8 kB / 6.113 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/14.13, allocations: 1.538 MB / 6.115 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/14.13, allocations: 0.9536 MB / 6.116 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006128/14.13, allocations: 153.8 kB / 6.116 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/14.13, allocations: 71.42 kB / 6.116 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/14.13, allocations: 0 / 6.116 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.3933/14.52, allocations: 31.87 MB / 6.147 GB, free: 93.54 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)