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.001146/0.001146, allocations: 109.6 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6798/0.6798, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 71.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3655, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1886/0.5542, allocations: 181.8 MB / 0.7351 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00559/0.5598, allocations: 4.455 MB / 0.7394 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.5602, allocations: 19.88 kB / 0.7394 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.5609, allocations: 250.1 kB / 0.7397 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.5626, allocations: 0.7502 MB / 0.7404 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.5658, allocations: 1.522 MB / 0.7419 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.5671, allocations: 1.258 MB / 0.7431 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005849/0.5677, allocations: 441.3 kB / 0.7435 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009519/0.5687, allocations: 0.572 MB / 0.7441 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.5692, allocations: 410.4 kB / 0.7445 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.5693, allocations: 44 kB / 0.7445 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.5719, allocations: 1.547 MB / 0.746 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.5721, allocations: 195.4 kB / 0.7462 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.5725, allocations: 298.5 kB / 0.7465 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.5746, allocations: 1.313 MB / 0.7478 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5747, allocations: 0 / 0.7478 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5747, allocations: 0 / 0.7478 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.5747, allocations: 0 / 0.7478 GB, free: 1.105 MB / 0.5762 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.002099/0.5768, allocations: 1.025 MB / 0.7488 GB, free: 20 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5769, allocations: 8.031 kB / 0.7488 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2689/0.8458, allocations: 281 kB / 0.7491 GB, free: 177.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.8469, allocations: 476.7 kB / 0.7495 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.847, allocations: 32.75 kB / 0.7496 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.8471, allocations: 42.42 kB / 0.7496 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.8483, allocations: 0.5487 MB / 0.7501 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.8483, allocations: 0.875 kB / 0.7501 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.8483, allocations: 21.3 kB / 0.7502 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.8484, allocations: 13.53 kB / 0.7502 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.8495, allocations: 457.7 kB / 0.7506 GB, free: 176.7 MB / 0.5762 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.002316/0.8518, allocations: 2.111 MB / 0.7527 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.8528, allocations: 413.4 kB / 0.7531 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.8533, allocations: 223.2 kB / 0.7533 GB, free: 175 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/0.8539, allocations: 400.7 kB / 0.7537 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006215/0.8546, allocations: 300.9 kB / 0.7539 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 2.715e-06/0.8546, allocations: 0 / 0.7539 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.00181/0.8564, allocations: 0.6801 MB / 0.7546 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.8564, allocations: 61.48 kB / 0.7547 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/0.8572, allocations: 0.4921 MB / 0.7551 GB, free: 174 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.8572, allocations: 33.58 kB / 0.7552 GB, free: 174 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.8574, allocations: 265.6 kB / 0.7554 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.044e-05/0.8575, allocations: 117.2 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.8577, allocations: 93.61 kB / 0.7556 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.8578, allocations: 361.9 kB / 0.756 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.8583, allocations: 198 kB / 0.7562 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.8589, allocations: 320.3 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009177/0.8598, allocations: 0.5514 MB / 0.757 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8598, allocations: 1.219 kB / 0.757 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001182/0.861, allocations: 0.6452 MB / 0.7576 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.861, allocations: 67.97 kB / 0.7577 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8611, allocations: 2.688 kB / 0.7577 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.8611, allocations: 8.203 kB / 0.7577 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.8615, allocations: 98.27 kB / 0.7578 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8616, allocations: 6.25 kB / 0.7578 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.862, allocations: 74.45 kB / 0.7579 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.8621, allocations: 22.61 kB / 0.7579 GB, free: 172.4 MB / 0.5762 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.0001901/0.8623, allocations: 203.5 kB / 0.7581 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.8624, allocations: 54.44 kB / 0.7582 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.8635, allocations: 0.5325 MB / 0.7587 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.8635, allocations: 3.719 kB / 0.7587 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8635, allocations: 1.109 kB / 0.7587 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.8635, allocations: 3.109 kB / 0.7587 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.8657, allocations: 1.362 MB / 0.76 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.8657, allocations: 5.344 kB / 0.76 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.8661, allocations: 75.27 kB / 0.7601 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.8661, allocations: 5.375 kB / 0.7601 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.8661, allocations: 12.89 kB / 0.7601 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.8662, allocations: 10.98 kB / 0.7601 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.8662, allocations: 4.344 kB / 0.7601 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.8677, allocations: 0.9375 MB / 0.761 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.868, allocations: 171.4 kB / 0.7612 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.959e-05/0.868, allocations: 12.3 kB / 0.7612 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.8685, allocations: 32.86 kB / 0.7612 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.8686, allocations: 54.69 kB / 0.7613 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.8686, allocations: 14.89 kB / 0.7613 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004022/0.869, allocations: 347.3 kB / 0.7616 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8691, allocations: 0 / 0.7616 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005922/0.8697, allocations: 156.2 kB / 0.7618 GB, free: 170.4 MB / 0.5762 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.0004106/0.8701, allocations: 192.7 kB / 0.762 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.8712, allocations: 0.5784 MB / 0.7625 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8712, allocations: 1.438 kB / 0.7625 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.8718, allocations: 287 kB / 0.7628 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.873, allocations: 283.9 kB / 0.7631 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.8746, allocations: 1.045 MB / 0.7641 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.8749, allocations: 0.8664 MB / 0.765 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004424/0.8754, allocations: 130.9 kB / 0.7651 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.8755, allocations: 45.59 kB / 0.7651 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.8755, allocations: 0 / 0.7651 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01749/0.893, allocations: 10.76 MB / 0.7756 GB, free: 165.5 MB / 0.5762 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)