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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4661/0.4661, allocations: 87.49 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 102.3 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.439, allocations: 70.05 MB / 0.5575 GB, free: 44.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4809/0.9199, allocations: 179.5 MB / 0.7328 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.9251, allocations: 4.488 MB / 0.7372 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007393/0.926, allocations: 23.34 kB / 0.7372 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006548/0.9266, allocations: 190.2 kB / 0.7374 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.9283, allocations: 0.7138 MB / 0.7381 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.9315, allocations: 1.401 MB / 0.7395 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.9336, allocations: 1.699 MB / 0.7411 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005069/0.9341, allocations: 386 kB / 0.7415 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.9353, allocations: 0.5294 MB / 0.742 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009552/0.9363, allocations: 424.5 kB / 0.7424 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.423e-05/0.9364, allocations: 30.06 kB / 0.7424 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.9394, allocations: 1.801 MB / 0.7442 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.9396, allocations: 178.8 kB / 0.7444 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003979/0.94, allocations: 287 kB / 0.7446 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.9418, allocations: 1.387 MB / 0.746 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9418, allocations: 4 kB / 0.746 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9419, allocations: 0 / 0.746 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.9419, allocations: 0 / 0.746 GB, free: 1.145 MB / 0.5105 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.001619/0.9435, allocations: 1.015 MB / 0.747 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.9435, allocations: 11.12 kB / 0.747 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.9453, allocations: 286.4 kB / 0.7473 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.946, allocations: 444.4 kB / 0.7477 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.946, allocations: 37.41 kB / 0.7477 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.9461, allocations: 43.47 kB / 0.7478 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.947, allocations: 0.5465 MB / 0.7483 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.947, allocations: 0 / 0.7483 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.947, allocations: 18.84 kB / 0.7483 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.947, allocations: 10.31 kB / 0.7483 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.948, allocations: 460.1 kB / 0.7488 GB, free: 16.05 MB / 0.5261 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.002185/0.9502, allocations: 2.12 MB / 0.7508 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.951, allocations: 410.7 kB / 0.7512 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004368/0.9515, allocations: 229.3 kB / 0.7514 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/0.9521, allocations: 400.8 kB / 0.7518 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.9527, allocations: 298 kB / 0.7521 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 2.083e-06/0.9527, allocations: 0 / 0.7521 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.001584/0.9543, allocations: 0.6788 MB / 0.7528 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.9543, allocations: 66.45 kB / 0.7528 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.9548, allocations: 492.5 kB / 0.7533 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.9548, allocations: 35.2 kB / 0.7533 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.955, allocations: 261.8 kB / 0.7536 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.943e-05/0.9551, allocations: 134.1 kB / 0.7537 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.9552, allocations: 91.8 kB / 0.7538 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.9554, allocations: 361.9 kB / 0.7542 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.9558, allocations: 193.1 kB / 0.7543 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.9563, allocations: 315.5 kB / 0.7546 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009111/0.9572, allocations: 0.5509 MB / 0.7552 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9573, allocations: 0 / 0.7552 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001148/0.9584, allocations: 0.645 MB / 0.7558 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.9585, allocations: 67.81 kB / 0.7559 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.9585, allocations: 5.656 kB / 0.7559 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9585, allocations: 5.406 kB / 0.7559 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.9589, allocations: 100.9 kB / 0.756 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.959, allocations: 9.375 kB / 0.756 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.9596, allocations: 81.53 kB / 0.7561 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.9596, allocations: 22.06 kB / 0.7561 GB, free: 12.95 MB / 0.5261 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002054/0.9598, allocations: 196.2 kB / 0.7563 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.9599, allocations: 54.02 kB / 0.7563 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.961, allocations: 0.5299 MB / 0.7568 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.961, allocations: 7.531 kB / 0.7568 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.9611, allocations: 9.812 kB / 0.7569 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.9611, allocations: 3.094 kB / 0.7569 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.9631, allocations: 1.349 MB / 0.7582 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9631, allocations: 5.062 kB / 0.7582 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.9635, allocations: 71.5 kB / 0.7583 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-06/0.9635, allocations: 10.28 kB / 0.7583 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.9636, allocations: 14.52 kB / 0.7583 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.9636, allocations: 6.281 kB / 0.7583 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.9636, allocations: 8.75 kB / 0.7583 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.9743, allocations: 4.502 MB / 0.7627 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.9746, allocations: 170.5 kB / 0.7628 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.9746, allocations: 15.22 kB / 0.7629 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.9751, allocations: 46.3 kB / 0.7629 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.9752, allocations: 46.22 kB / 0.763 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.9753, allocations: 17.45 kB / 0.763 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004091/0.9757, allocations: 343.3 kB / 0.7633 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.3e-07/0.9757, allocations: 4 kB / 0.7633 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007757/0.9765, allocations: 217.6 kB / 0.7635 GB, free: 10.58 MB / 0.5261 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003957/0.9769, allocations: 208.2 kB / 0.7637 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.9781, allocations: 0.578 MB / 0.7643 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9781, allocations: 2.312 kB / 0.7643 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.9787, allocations: 292.6 kB / 0.7646 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.9801, allocations: 283.6 kB / 0.7648 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.9823, allocations: 1.455 MB / 0.7662 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.9829, allocations: 0.8718 MB / 0.7671 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006171/0.9835, allocations: 132.6 kB / 0.7672 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.9837, allocations: 40.53 kB / 0.7673 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.804e-06/0.9837, allocations: 0 / 0.7673 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.01953/1.003, allocations: 10.81 MB / 0.7778 GB, free: 3.93 MB / 0.5261 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)