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.001455/0.001455, allocations: 111.1 kB / 17.04 MB, free: 5.355 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.001644/0.001644, allocations: 199.2 kB / 17.98 MB, free: 4.895 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.538/1.538, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.724/0.724, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.75 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3109, allocations: 76.15 MB / 0.5576 GB, free: 37.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1877/0.4987, allocations: 181.8 MB / 0.7351 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006047/0.5048, allocations: 4.451 MB / 0.7394 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.5055, allocations: 23.88 kB / 0.7394 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.5061, allocations: 250 kB / 0.7397 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.508, allocations: 0.7542 MB / 0.7404 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.5114, allocations: 1.522 MB / 0.7419 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.513, allocations: 1.254 MB / 0.7431 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006393/0.5137, allocations: 441.4 kB / 0.7435 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.5147, allocations: 0.5721 MB / 0.7441 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.5152, allocations: 418.2 kB / 0.7445 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.009e-05/0.5153, allocations: 48 kB / 0.7446 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.5179, allocations: 1.547 MB / 0.7461 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.5182, allocations: 179.5 kB / 0.7462 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.5185, allocations: 310.5 kB / 0.7465 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.5207, allocations: 1.313 MB / 0.7478 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5207, allocations: 0 / 0.7478 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5207, allocations: 0 / 0.7478 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.5207, allocations: 0 / 0.7478 GB, free: 1.27 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.001706/0.5224, allocations: 1.025 MB / 0.7488 GB, free: 188 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5225, allocations: 8.031 kB / 0.7488 GB, free: 180 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2239/0.7464, allocations: 275.7 kB / 0.7491 GB, free: 177.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.7474, allocations: 467.4 kB / 0.7495 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.7474, allocations: 36 kB / 0.7496 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.7475, allocations: 41.92 kB / 0.7496 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.7486, allocations: 0.5462 MB / 0.7501 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.7486, allocations: 4.656 kB / 0.7501 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.7487, allocations: 20.66 kB / 0.7502 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.7487, allocations: 10.69 kB / 0.7502 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.7498, allocations: 459 kB / 0.7506 GB, free: 177.2 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.002355/0.7521, allocations: 2.117 MB / 0.7527 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.7531, allocations: 417 kB / 0.7531 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/0.7536, allocations: 229.3 kB / 0.7533 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.7542, allocations: 397.4 kB / 0.7537 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006297/0.7548, allocations: 298 kB / 0.754 GB, free: 175 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.7548, allocations: 0 / 0.754 GB, free: 175 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001807/0.7566, allocations: 0.6825 MB / 0.7546 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.7567, allocations: 60.88 kB / 0.7547 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.7573, allocations: 496.3 kB / 0.7552 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.7574, allocations: 33.7 kB / 0.7552 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.7575, allocations: 268.1 kB / 0.7554 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.7576, allocations: 117.3 kB / 0.7556 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.7578, allocations: 95.19 kB / 0.7556 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.7579, allocations: 361.9 kB / 0.756 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.7584, allocations: 199 kB / 0.7562 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.759, allocations: 315.6 kB / 0.7565 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.7599, allocations: 0.5504 MB / 0.757 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.76, allocations: 1.891 kB / 0.757 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001227/0.7612, allocations: 0.6514 MB / 0.7577 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.7612, allocations: 64.73 kB / 0.7577 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.7613, allocations: 5.047 kB / 0.7577 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.7613, allocations: 5.375 kB / 0.7577 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.7617, allocations: 99.06 kB / 0.7578 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7618, allocations: 9.922 kB / 0.7578 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.7623, allocations: 74.47 kB / 0.7579 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.7623, allocations: 22.98 kB / 0.7579 GB, free: 172.8 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.0002013/0.7625, allocations: 192.5 kB / 0.7581 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.7626, allocations: 54.36 kB / 0.7582 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.7638, allocations: 0.538 MB / 0.7587 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.7638, allocations: 3.688 kB / 0.7587 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7638, allocations: 6.047 kB / 0.7587 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7638, allocations: 1.594 kB / 0.7587 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.7661, allocations: 1.363 MB / 0.76 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7661, allocations: 2.438 kB / 0.76 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.7665, allocations: 76.77 kB / 0.7601 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.7665, allocations: 6.969 kB / 0.7601 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.7666, allocations: 12.81 kB / 0.7601 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.7666, allocations: 4.906 kB / 0.7601 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.7666, allocations: 10.06 kB / 0.7601 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.7683, allocations: 0.9325 MB / 0.761 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.7686, allocations: 170.1 kB / 0.7612 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-05/0.7687, allocations: 12.81 kB / 0.7612 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.7691, allocations: 36.98 kB / 0.7613 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.7692, allocations: 52.78 kB / 0.7613 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.7693, allocations: 17.31 kB / 0.7613 GB, free: 171 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004199/0.7697, allocations: 343.3 kB / 0.7616 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7697, allocations: 0 / 0.7616 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006149/0.7703, allocations: 153.2 kB / 0.7618 GB, free: 170.9 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.0004623/0.7708, allocations: 200 kB / 0.762 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.7721, allocations: 0.5753 MB / 0.7625 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.7721, allocations: 0 / 0.7625 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.7727, allocations: 295.2 kB / 0.7628 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.774, allocations: 282.9 kB / 0.7631 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.7759, allocations: 1.045 MB / 0.7641 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.7762, allocations: 0.8674 MB / 0.765 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004497/0.7766, allocations: 130.4 kB / 0.7651 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.7768, allocations: 45.95 kB / 0.7651 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.7768, allocations: 0 / 0.7651 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.0179/0.7947, allocations: 10.76 MB / 0.7756 GB, free: 165.9 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)