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.001425/0.00143, allocations: 105.8 kB / 16.52 MB, free: 6.656 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.001322/0.001322, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7535/0.7535, allocations: 115.3 MB / 406.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.91 kB / 493.6 MB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3668, allocations: 76.16 MB / 0.5564 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1862/0.5531, allocations: 179.5 MB / 0.7317 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006922/0.56, allocations: 4.485 MB / 0.7361 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008326/0.5609, allocations: 23.81 kB / 0.7361 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009018/0.5618, allocations: 186.8 kB / 0.7363 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.5641, allocations: 0.7195 MB / 0.737 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.5682, allocations: 1.396 MB / 0.7383 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.5704, allocations: 1.699 MB / 0.74 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008426/0.5712, allocations: 378.2 kB / 0.7404 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.5727, allocations: 0.5174 MB / 0.7409 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007723/0.5734, allocations: 422.3 kB / 0.7413 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.5736, allocations: 32 kB / 0.7413 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.5772, allocations: 1.812 MB / 0.7431 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.5775, allocations: 171.4 kB / 0.7432 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005751/0.5781, allocations: 290.5 kB / 0.7435 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.5798, allocations: 0.9044 MB / 0.7444 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5798, allocations: 0 / 0.7444 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5798, allocations: 0 / 0.7444 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.5798, allocations: 0 / 0.7444 GB, free: 3.547 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.002189/0.582, allocations: 1.017 MB / 0.7454 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5821, allocations: 15.97 kB / 0.7454 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.5843, allocations: 294.8 kB / 0.7457 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.5851, allocations: 433.5 kB / 0.7461 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.5852, allocations: 37 kB / 0.7461 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5853, allocations: 40 kB / 0.7462 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.5864, allocations: 0.5546 MB / 0.7467 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5864, allocations: 0 / 0.7467 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.5865, allocations: 19.98 kB / 0.7467 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.5865, allocations: 15.94 kB / 0.7467 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.5876, allocations: 455.6 kB / 0.7472 GB, free: 0.5508 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.2638/0.8514, allocations: 2.112 MB / 0.7492 GB, free: 175 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.8526, allocations: 406.7 kB / 0.7496 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.8533, allocations: 223.8 kB / 0.7498 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/0.8539, allocations: 399.9 kB / 0.7502 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006988/0.8546, allocations: 302.1 kB / 0.7505 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 3.536e-06/0.8546, allocations: 1.969 kB / 0.7505 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001863/0.8565, allocations: 0.6821 MB / 0.7512 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.8565, allocations: 62.28 kB / 0.7512 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.8572, allocations: 493.7 kB / 0.7517 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.8572, allocations: 37.02 kB / 0.7517 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.8574, allocations: 257.9 kB / 0.752 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.8575, allocations: 128.3 kB / 0.7521 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.8577, allocations: 90.58 kB / 0.7522 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.8578, allocations: 368.4 kB / 0.7525 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.8583, allocations: 198.4 kB / 0.7527 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.8589, allocations: 315.5 kB / 0.753 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.86, allocations: 0.5415 MB / 0.7536 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.86, allocations: 2.297 kB / 0.7536 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001445/0.8615, allocations: 0.6469 MB / 0.7542 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.8615, allocations: 63.44 kB / 0.7543 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.8616, allocations: 3.891 kB / 0.7543 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.8616, allocations: 4.844 kB / 0.7543 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.8621, allocations: 99.94 kB / 0.7544 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.8621, allocations: 8.828 kB / 0.7544 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.8628, allocations: 85.38 kB / 0.7545 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/0.8628, allocations: 22.08 kB / 0.7545 GB, free: 172.3 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.0002507/0.8631, allocations: 198.6 kB / 0.7547 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.8632, allocations: 57.14 kB / 0.7547 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.8644, allocations: 0.533 MB / 0.7552 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.8644, allocations: 5.469 kB / 0.7552 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8644, allocations: 0.5625 kB / 0.7552 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.8644, allocations: 3.094 kB / 0.7552 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.8668, allocations: 1.353 MB / 0.7566 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.8668, allocations: 5.75 kB / 0.7566 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.8672, allocations: 72.58 kB / 0.7566 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.8672, allocations: 5.156 kB / 0.7567 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.8673, allocations: 20.7 kB / 0.7567 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.8673, allocations: 10.52 kB / 0.7567 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.8673, allocations: 7.344 kB / 0.7567 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.869, allocations: 0.937 MB / 0.7576 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.8692, allocations: 175.3 kB / 0.7578 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.8693, allocations: 14.23 kB / 0.7578 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/0.8698, allocations: 40.48 kB / 0.7578 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.8699, allocations: 53.25 kB / 0.7579 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.87, allocations: 17.53 kB / 0.7579 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004516/0.8704, allocations: 342.4 kB / 0.7582 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8705, allocations: 1.438 kB / 0.7582 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006404/0.8711, allocations: 157.3 kB / 0.7584 GB, free: 170.3 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.0004569/0.8716, allocations: 190.6 kB / 0.7585 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.8728, allocations: 0.5709 MB / 0.7591 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8728, allocations: 0 / 0.7591 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006454/0.8735, allocations: 263 kB / 0.7594 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.8749, allocations: 279.5 kB / 0.7596 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.8769, allocations: 1.253 MB / 0.7608 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.8773, allocations: 0.8649 MB / 0.7617 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.8775, allocations: 48.83 kB / 0.7617 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.8775, allocations: 0 / 0.7617 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.01737/0.8949, allocations: 9.021 MB / 0.7705 GB, free: 166.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)