Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 92.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 184.7 kB / 16.92 MB, free: 6.934 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7171/0.7171, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 8 kB / 495.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 77.54 MB / 0.56 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00158/0.1568, allocations: 1.208 MB / 0.5611 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1581, allocations: 0.8071 MB / 0.5619 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.1582, allocations: 0 / 0.5619 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.1582, allocations: 3.938 kB / 0.5619 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.1583, allocations: 7.938 kB / 0.5619 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.1587, allocations: 107.6 kB / 0.562 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.292e-05/0.1588, allocations: 59.72 kB / 0.5621 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.1589, allocations: 15.98 kB / 0.5621 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.159, allocations: 15.98 kB / 0.5621 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.159, allocations: 19.86 kB / 0.5621 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1591, allocations: 8 kB / 0.5621 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.1594, allocations: 175.7 kB / 0.5623 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.1594, allocations: 7.984 kB / 0.5623 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.1595, allocations: 41.58 kB / 0.5624 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1598, allocations: 151.8 kB / 0.5625 GB, free: 6.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1598, allocations: 0 / 0.5625 GB, free: 6.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1598, allocations: 0 / 0.5625 GB, free: 6.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1598, allocations: 0 / 0.5625 GB, free: 6.422 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006064/0.1604, allocations: 401.6 kB / 0.5629 GB, free: 5.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1605, allocations: 12.03 kB / 0.5629 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1605, allocations: 8.781 kB / 0.5629 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1607, allocations: 176.2 kB / 0.5631 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1607, allocations: 384 / 0.5631 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1607, allocations: 8.375 kB / 0.5631 GB, free: 5.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.161, allocations: 82.22 kB / 0.5632 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.161, allocations: 4.188 kB / 0.5632 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.161, allocations: 3.938 kB / 0.5632 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1611, allocations: 0 / 0.5632 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.1614, allocations: 87.92 kB / 0.5633 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1618, allocations: 296.7 kB / 0.5635 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1621, allocations: 62.53 kB / 0.5636 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1622, allocations: 52.92 kB / 0.5637 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.1624, allocations: 89.09 kB / 0.5637 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1625, allocations: 30.56 kB / 0.5638 GB, free: 4.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.1625, allocations: 7.875 kB / 0.5638 GB, free: 4.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006106/0.1631, allocations: 169.5 kB / 0.5639 GB, free: 4.773 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1632, allocations: 51.41 kB / 0.564 GB, free: 4.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1633, allocations: 119.2 kB / 0.5641 GB, free: 4.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1633, allocations: 25.7 kB / 0.5641 GB, free: 4.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.1633, allocations: 92.12 kB / 0.5642 GB, free: 4.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1634, allocations: 11.81 kB / 0.5642 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.1634, allocations: 13.72 kB / 0.5642 GB, free: 4.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1635, allocations: 314.8 kB / 0.5645 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1637, allocations: 43.95 kB / 0.5646 GB, free: 4.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1639, allocations: 43.97 kB / 0.5646 GB, free: 4.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.1642, allocations: 96.72 kB / 0.5647 GB, free: 3.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1642, allocations: 0 / 0.5647 GB, free: 3.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000354/0.1646, allocations: 117.6 kB / 0.5648 GB, free: 3.809 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1646, allocations: 5.719 kB / 0.5648 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1646, allocations: 0 / 0.5648 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1646, allocations: 3.984 kB / 0.5648 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1648, allocations: 23.98 kB / 0.5649 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1648, allocations: 0 / 0.5649 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.1649, allocations: 19.98 kB / 0.5649 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1649, allocations: 4.328 kB / 0.5649 GB, free: 3.754 MB / 430.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 (3): * Single equations (assignments): 3 * 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 7.496e-05/0.165, allocations: 113.8 kB / 0.565 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.165, allocations: 7.906 kB / 0.565 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.1654, allocations: 137.4 kB / 0.5651 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1654, allocations: 7.922 kB / 0.5651 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1654, allocations: 0 / 0.5651 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1654, allocations: 0 / 0.5651 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1656, allocations: 169.6 kB / 0.5653 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1656, allocations: 0 / 0.5653 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1657, allocations: 23.97 kB / 0.5653 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1657, allocations: 4 kB / 0.5653 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1657, allocations: 4 kB / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1657, allocations: 4 kB / 0.5653 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1658, allocations: 3.938 kB / 0.5653 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.1662, allocations: 223.3 kB / 0.5655 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.1662, allocations: 85.03 kB / 0.5656 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1662, allocations: 4 kB / 0.5656 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1664, allocations: 15.98 kB / 0.5656 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.1664, allocations: 8 kB / 0.5657 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1664, allocations: 3.984 kB / 0.5657 GB, free: 2.852 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.507e-05/0.1665, allocations: 92.7 kB / 0.5657 GB, free: 2.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1665, allocations: 0 / 0.5657 GB, free: 2.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1668, allocations: 27.98 kB / 0.5658 GB, free: 2.734 MB / 430.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 (3): * Single equations (assignments): 3 * 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.0002273/0.167, allocations: 135.2 kB / 0.5659 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.1674, allocations: 91.92 kB / 0.566 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1674, allocations: 0 / 0.566 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1676, allocations: 51.89 kB / 0.566 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.168, allocations: 10.47 kB / 0.566 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.1683, allocations: 174.7 kB / 0.5662 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1686, allocations: 0.6809 MB / 0.5669 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.679e-05/0.1686, allocations: 11.94 kB / 0.5669 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.1686, allocations: 11.44 kB / 0.5669 GB, free: 1.52 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1686, allocations: 0 / 0.5669 GB, free: 1.52 MB / 430.1 MB Notification: Performance of Templates: time 0.003761/0.1724, allocations: 1.214 MB / 0.5681 GB, free: 324 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)