Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.802/1.802, allocations: 288.4 MB / 303.4 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 183.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008602, allocations: 86.42 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.000492, allocations: 20.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2397, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7052/0.945, allocations: 165.3 MB / 1.141 GB, free: 13.88 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005867/0.9509, allocations: 4.184 MB / 1.145 GB, free: 12.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006623/0.9516, allocations: 17.69 kB / 1.145 GB, free: 12.47 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.9523, allocations: 171.1 kB / 1.145 GB, free: 12.4 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.9541, allocations: 0.5848 MB / 1.146 GB, free: 12.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.9575, allocations: 1.05 MB / 1.147 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.9594, allocations: 1.44 MB / 1.148 GB, free: 11.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004893/0.9599, allocations: 358.2 kB / 1.149 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009928/0.9609, allocations: 0.5016 MB / 1.149 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.9614, allocations: 399 kB / 1.149 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-05/0.9615, allocations: 25.94 kB / 1.15 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.9639, allocations: 0.783 MB / 1.15 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.9641, allocations: 171.2 kB / 1.15 GB, free: 10.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.9643, allocations: 127.5 kB / 1.151 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.9656, allocations: 0.7635 MB / 1.151 GB, free: 9.895 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9657, allocations: 0 / 1.151 GB, free: 9.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9657, allocations: 0 / 1.151 GB, free: 9.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.9657, allocations: 1.344 kB / 1.151 GB, free: 9.895 MB / 0.698 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.001696/0.9674, allocations: 0.9402 MB / 1.152 GB, free: 9.148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.9674, allocations: 8.781 kB / 1.152 GB, free: 9.148 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.9695, allocations: 283.1 kB / 1.153 GB, free: 9.039 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.9703, allocations: 436.1 kB / 1.153 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.9704, allocations: 30.25 kB / 1.153 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.9705, allocations: 44.66 kB / 1.153 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.9717, allocations: 0.5602 MB / 1.154 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.9718, allocations: 1.156 kB / 1.154 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.9718, allocations: 16.28 kB / 1.154 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.9718, allocations: 10.16 kB / 1.154 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.973, allocations: 494.2 kB / 1.154 GB, free: 8.371 MB / 0.698 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.002843/0.9759, allocations: 2.131 MB / 1.156 GB, free: 6.781 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009933/0.9769, allocations: 436.2 kB / 1.157 GB, free: 6.672 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.9774, allocations: 244.1 kB / 1.157 GB, free: 6.617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/0.9781, allocations: 408.4 kB / 1.157 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006202/0.9787, allocations: 301.9 kB / 1.157 GB, free: 6.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.895e-06/0.9788, allocations: 3.938 kB / 1.157 GB, free: 6.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002007/0.9808, allocations: 0.7357 MB / 1.158 GB, free: 5.891 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.9808, allocations: 60.75 kB / 1.158 GB, free: 5.824 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.9814, allocations: 495.6 kB / 1.159 GB, free: 5.629 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.9815, allocations: 38.84 kB / 1.159 GB, free: 5.594 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.9817, allocations: 256.2 kB / 1.159 GB, free: 5.449 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.9818, allocations: 123.4 kB / 1.159 GB, free: 5.359 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.9819, allocations: 8.938 kB / 1.159 GB, free: 5.359 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.982, allocations: 364.1 kB / 1.159 GB, free: 5.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.9825, allocations: 213.6 kB / 1.16 GB, free: 4.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.9831, allocations: 335.5 kB / 1.16 GB, free: 4.816 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.9837, allocations: 292.3 kB / 1.16 GB, free: 4.707 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.9837, allocations: 1.469 kB / 1.16 GB, free: 4.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001407/0.9851, allocations: 0.6747 MB / 1.161 GB, free: 4.418 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.9852, allocations: 59.09 kB / 1.161 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.9852, allocations: 2.469 kB / 1.161 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9853, allocations: 13.98 kB / 1.161 GB, free: 4.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.9857, allocations: 97.83 kB / 1.161 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.9858, allocations: 13.73 kB / 1.161 GB, free: 4.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.9864, allocations: 89.89 kB / 1.161 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.9865, allocations: 25.23 kB / 1.161 GB, free: 4.266 MB / 0.698 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.0002535/0.9867, allocations: 188.9 kB / 1.161 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.9868, allocations: 56.95 kB / 1.161 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.9881, allocations: 0.5727 MB / 1.162 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.9882, allocations: 7.672 kB / 1.162 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.9882, allocations: 0 / 1.162 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9882, allocations: 5.344 kB / 1.162 GB, free: 3.754 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.9906, allocations: 1.379 MB / 1.163 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9906, allocations: 3.75 kB / 1.163 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.991, allocations: 81.42 kB / 1.163 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.991, allocations: 6.031 kB / 1.163 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.9911, allocations: 13.58 kB / 1.163 GB, free: 2.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.9911, allocations: 13.39 kB / 1.163 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.9911, allocations: 7.438 kB / 1.163 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.9929, allocations: 0.9868 MB / 1.164 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.9932, allocations: 178.9 kB / 1.165 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.9933, allocations: 10.72 kB / 1.165 GB, free: 1.941 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.9938, allocations: 55.41 kB / 1.165 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.9939, allocations: 51.38 kB / 1.165 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.994, allocations: 20.23 kB / 1.165 GB, free: 1.879 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004387/0.9944, allocations: 337 kB / 1.165 GB, free: 1.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9944, allocations: 0 / 1.165 GB, free: 1.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006423/0.9951, allocations: 162.9 kB / 1.165 GB, free: 1.645 MB / 0.698 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.0004461/0.9955, allocations: 189.6 kB / 1.165 GB, free: 1.512 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.9968, allocations: 0.6089 MB / 1.166 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9968, allocations: 1.375 kB / 1.166 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.9975, allocations: 308.2 kB / 1.166 GB, free: 1.035 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.9989, allocations: 274.6 kB / 1.167 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/1.001, allocations: 1.233 MB / 1.168 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/1.001, allocations: 0.8674 MB / 1.169 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005451/1.002, allocations: 130.6 kB / 1.169 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/1.002, allocations: 43.48 kB / 1.169 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.002, allocations: 2.094 kB / 1.169 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.0168/1.019, allocations: 9.828 MB / 1.178 GB, free: 10.24 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)