Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001469/0.001469, allocations: 192 kB / 17.34 MB, free: 5.727 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7614/0.7614, allocations: 122.9 MB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 62.02 kB / 0.5685 GB, free: 28.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 77.94 MB / 0.6446 GB, free: 8.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002175/0.1622, allocations: 1.246 MB / 0.6458 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1634, allocations: 0.8434 MB / 0.6466 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.1635, allocations: 4 kB / 0.6466 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.1635, allocations: 3.938 kB / 0.6466 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.1636, allocations: 3.938 kB / 0.6466 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.164, allocations: 127.4 kB / 0.6467 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.1641, allocations: 23.92 kB / 0.6468 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.1642, allocations: 7.984 kB / 0.6468 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.04e-05/0.1642, allocations: 7.938 kB / 0.6468 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.1643, allocations: 15.98 kB / 0.6468 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1643, allocations: 4 kB / 0.6468 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.1646, allocations: 167.7 kB / 0.647 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.1647, allocations: 4 kB / 0.647 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.1647, allocations: 11.94 kB / 0.647 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.165, allocations: 115.6 kB / 0.6471 GB, free: 6.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.165, allocations: 0 / 0.6471 GB, free: 6.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.165, allocations: 4 kB / 0.6471 GB, free: 6.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.165, allocations: 0 / 0.6471 GB, free: 6.285 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004579/0.1655, allocations: 367.1 kB / 0.6474 GB, free: 5.875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1655, allocations: 12.62 kB / 0.6475 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.1655, allocations: 0.9375 kB / 0.6475 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1656, allocations: 172.3 kB / 0.6476 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.1657, allocations: 30.25 kB / 0.6476 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1657, allocations: 8.375 kB / 0.6477 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1659, allocations: 46.19 kB / 0.6477 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1659, allocations: 3.938 kB / 0.6477 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1659, allocations: 0 / 0.6477 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1659, allocations: 4 kB / 0.6477 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.166, allocations: 19.98 kB / 0.6477 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1662, allocations: 153.7 kB / 0.6479 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1664, allocations: 46.61 kB / 0.6479 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.1664, allocations: 20.94 kB / 0.6479 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.1667, allocations: 182.2 kB / 0.6481 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1668, allocations: 34.5 kB / 0.6481 GB, free: 5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1668, allocations: 0 / 0.6481 GB, free: 5 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000249/0.167, allocations: 69.8 kB / 0.6482 GB, free: 4.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1671, allocations: 51.41 kB / 0.6483 GB, free: 4.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.1671, allocations: 101.8 kB / 0.6484 GB, free: 4.754 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1672, allocations: 29.7 kB / 0.6484 GB, free: 4.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1672, allocations: 80.14 kB / 0.6485 GB, free: 4.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1673, allocations: 19.81 kB / 0.6485 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.1673, allocations: 17.72 kB / 0.6485 GB, free: 4.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.1674, allocations: 314.8 kB / 0.6488 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.1675, allocations: 11.98 kB / 0.6488 GB, free: 4.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-05/0.1675, allocations: 11.94 kB / 0.6488 GB, free: 4.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.1676, allocations: 36.78 kB / 0.6489 GB, free: 4.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1676, allocations: 0 / 0.6489 GB, free: 4.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001303/0.1678, allocations: 53.67 kB / 0.6489 GB, free: 4.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1678, allocations: 11.94 kB / 0.6489 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1678, allocations: 0 / 0.6489 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1678, allocations: 0 / 0.6489 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.1679, allocations: 4 kB / 0.6489 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1679, allocations: 4 kB / 0.6489 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.1679, allocations: 0 / 0.6489 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1679, allocations: 0 / 0.6489 GB, free: 4.137 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.46e-05/0.168, allocations: 125.8 kB / 0.649 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.168, allocations: 7.891 kB / 0.6491 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.1682, allocations: 69.11 kB / 0.6491 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1682, allocations: 0 / 0.6491 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1682, allocations: 0 / 0.6491 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1683, allocations: 0 / 0.6491 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.1684, allocations: 157.7 kB / 0.6493 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1684, allocations: 0 / 0.6493 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.1684, allocations: 8 kB / 0.6493 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1684, allocations: 3.938 kB / 0.6493 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1684, allocations: 8 kB / 0.6493 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1685, allocations: 3.984 kB / 0.6493 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1685, allocations: 0 / 0.6493 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.1686, allocations: 81.06 kB / 0.6494 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.1687, allocations: 85.05 kB / 0.6495 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1687, allocations: 7.938 kB / 0.6495 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.1688, allocations: 8 kB / 0.6495 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.1688, allocations: 3.984 kB / 0.6495 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1688, allocations: 4 kB / 0.6495 GB, free: 3.469 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.43e-05/0.1689, allocations: 79.7 kB / 0.6495 GB, free: 3.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1689, allocations: 0 / 0.6495 GB, free: 3.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1691, allocations: 35.81 kB / 0.6496 GB, free: 3.355 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001985/0.1693, allocations: 131.2 kB / 0.6497 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1695, allocations: 43.91 kB / 0.6498 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1695, allocations: 0 / 0.6498 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.1695, allocations: 11.98 kB / 0.6498 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.1698, allocations: 13.39 kB / 0.6498 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.1701, allocations: 131.1 kB / 0.6499 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1704, allocations: 0.6767 MB / 0.6506 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.043e-05/0.1704, allocations: 11.98 kB / 0.6506 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.1704, allocations: 11.38 kB / 0.6506 GB, free: 2.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1704, allocations: 3.938 kB / 0.6506 GB, free: 2.266 MB / 494.1 MB Notification: Performance of Templates: time 0.0033/0.1737, allocations: 1.054 MB / 0.6516 GB, free: 1.215 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)