Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 97.05 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 173.9 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6473/0.6473, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003439, allocations: 8 kB / 493 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4214/0.5611, allocations: 151.4 MB / 0.7046 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005839/0.567, allocations: 4.133 MB / 0.7087 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004911/0.5675, allocations: 15.88 kB / 0.7087 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009195/0.5684, allocations: 282.6 kB / 0.709 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.5699, allocations: 0.5803 MB / 0.7095 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.5723, allocations: 0.9759 MB / 0.7105 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000962/0.5733, allocations: 0.7451 MB / 0.7112 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.5738, allocations: 368 kB / 0.7116 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.5751, allocations: 0.6505 MB / 0.7122 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.5754, allocations: 282.9 kB / 0.7125 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.5755, allocations: 28 kB / 0.7125 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.5768, allocations: 0.5928 MB / 0.7131 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.5769, allocations: 155.5 kB / 0.7132 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.5771, allocations: 133.4 kB / 0.7134 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007232/0.5778, allocations: 0.6407 MB / 0.714 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.5778, allocations: 4 kB / 0.714 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5778, allocations: 0 / 0.714 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5778, allocations: 0 / 0.714 GB, free: 8.918 MB / 0.5294 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.001455/0.5793, allocations: 0.8974 MB / 0.7149 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5793, allocations: 8.031 kB / 0.7149 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.5813, allocations: 294.9 kB / 0.7151 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.582, allocations: 425.9 kB / 0.7156 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.5821, allocations: 32.94 kB / 0.7156 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.5821, allocations: 44 kB / 0.7156 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009708/0.5831, allocations: 0.5624 MB / 0.7162 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5831, allocations: 3.938 kB / 0.7162 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.5832, allocations: 19.95 kB / 0.7162 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.5832, allocations: 8 kB / 0.7162 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.5842, allocations: 491.5 kB / 0.7167 GB, free: 6.023 MB / 0.5294 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.002339/0.5866, allocations: 2.127 MB / 0.7188 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/0.5875, allocations: 443.9 kB / 0.7192 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.5879, allocations: 141 kB / 0.7193 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006303/0.5886, allocations: 334.5 kB / 0.7196 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 3.387e-06/0.5886, allocations: 0 / 0.7196 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.001751/0.5903, allocations: 0.7478 MB / 0.7204 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.5904, allocations: 85.09 kB / 0.7204 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.5909, allocations: 494 kB / 0.7209 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.591, allocations: 33.7 kB / 0.7209 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5912, allocations: 260.1 kB / 0.7212 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.5913, allocations: 118.3 kB / 0.7213 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.5913, allocations: 8 kB / 0.7213 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5914, allocations: 362.8 kB / 0.7217 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.5919, allocations: 216.8 kB / 0.7219 GB, free: 488 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.5925, allocations: 333.2 kB / 0.7222 GB, free: 116 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.593, allocations: 296.1 kB / 0.7225 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.593, allocations: 0 / 0.7225 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001229/0.5943, allocations: 0.6771 MB / 0.7231 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.5943, allocations: 63.39 kB / 0.7232 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5943, allocations: 4 kB / 0.7232 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5944, allocations: 7.953 kB / 0.7232 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.5948, allocations: 107.8 kB / 0.7233 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.5948, allocations: 7.984 kB / 0.7233 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.5954, allocations: 97.58 kB / 0.7234 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.5955, allocations: 23.98 kB / 0.7234 GB, free: 14.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002211/0.5957, allocations: 198.2 kB / 0.7236 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.5958, allocations: 51.34 kB / 0.7237 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.5968, allocations: 0.5228 MB / 0.7242 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5968, allocations: 7.938 kB / 0.7242 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5969, allocations: 4.453 kB / 0.7242 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5969, allocations: 3.984 kB / 0.7242 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.5991, allocations: 1.471 MB / 0.7256 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.5991, allocations: 7.938 kB / 0.7256 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.5995, allocations: 92.44 kB / 0.7257 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.5995, allocations: 8 kB / 0.7257 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.5996, allocations: 12 kB / 0.7257 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.527e-06/0.5996, allocations: 15.92 kB / 0.7258 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5996, allocations: 4 kB / 0.7258 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.6013, allocations: 1.231 MB / 0.727 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.6016, allocations: 168.3 kB / 0.7271 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.6017, allocations: 23.88 kB / 0.7271 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.6022, allocations: 59.92 kB / 0.7272 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6023, allocations: 55.83 kB / 0.7273 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.6023, allocations: 16 kB / 0.7273 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003857/0.6027, allocations: 350.8 kB / 0.7276 GB, free: 10.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6027, allocations: 0 / 0.7276 GB, free: 10.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005714/0.6033, allocations: 147.8 kB / 0.7277 GB, free: 10.04 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.0004232/0.6037, allocations: 204.9 kB / 0.7279 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.6049, allocations: 0.6095 MB / 0.7285 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6049, allocations: 0 / 0.7285 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.6056, allocations: 328.8 kB / 0.7289 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6069, allocations: 275.9 kB / 0.7291 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.6087, allocations: 1.26 MB / 0.7303 GB, free: 7.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.6092, allocations: 0.8785 MB / 0.7312 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004758/0.6096, allocations: 128.7 kB / 0.7313 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.6098, allocations: 39.44 kB / 0.7314 GB, free: 6.219 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.6098, allocations: 0 / 0.7314 GB, free: 6.219 MB / 0.545 GB Notification: Performance of Templates: time 0.01642/0.6262, allocations: 9.819 MB / 0.741 GB, free: 12.57 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)