Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00133/0.00133, allocations: 113.5 kB / 16.38 MB, free: 5.953 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.001347/0.001347, allocations: 190.4 kB / 17.32 MB, free: 5.586 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8353/0.8353, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 58.22 kB / 0.5819 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1613, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002517/0.1639, allocations: 1.488 MB / 0.6617 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1651, allocations: 0.8107 MB / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.1652, allocations: 0 / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.1652, allocations: 7.922 kB / 0.6625 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.304e-05/0.1653, allocations: 15.88 kB / 0.6625 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.1657, allocations: 131.4 kB / 0.6627 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.222e-05/0.1658, allocations: 51.84 kB / 0.6627 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.1659, allocations: 15.94 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.166, allocations: 19.92 kB / 0.6627 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.1661, allocations: 27.91 kB / 0.6628 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1661, allocations: 7.938 kB / 0.6628 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.1664, allocations: 167.8 kB / 0.6629 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.1665, allocations: 7.984 kB / 0.6629 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.1665, allocations: 23.86 kB / 0.663 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1668, allocations: 155.6 kB / 0.6631 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1668, allocations: 3.938 kB / 0.6631 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1668, allocations: 0 / 0.6631 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1668, allocations: 0 / 0.6631 GB, free: 7.359 MB / 0.4981 GB 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.0005351/0.1673, allocations: 391.3 kB / 0.6635 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1674, allocations: 12.03 kB / 0.6635 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.1674, allocations: 4.844 kB / 0.6635 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1676, allocations: 168.3 kB / 0.6637 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1676, allocations: 4.359 kB / 0.6637 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1676, allocations: 4.375 kB / 0.6637 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1678, allocations: 70.22 kB / 0.6637 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1679, allocations: 4.188 kB / 0.6637 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1679, allocations: 7.938 kB / 0.6638 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1679, allocations: 0 / 0.6638 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.1682, allocations: 75.84 kB / 0.6638 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1686, allocations: 280.7 kB / 0.6641 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1688, allocations: 66.52 kB / 0.6642 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1689, allocations: 36.92 kB / 0.6642 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.1691, allocations: 93.03 kB / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1692, allocations: 38.56 kB / 0.6643 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1692, allocations: 0 / 0.6643 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005334/0.1697, allocations: 125.6 kB / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.1698, allocations: 55.41 kB / 0.6645 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1699, allocations: 120.2 kB / 0.6646 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1699, allocations: 37.64 kB / 0.6646 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.1699, allocations: 92.12 kB / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.17, allocations: 7.812 kB / 0.6647 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.17, allocations: 17.72 kB / 0.6648 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1701, allocations: 314.8 kB / 0.6651 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1703, allocations: 35.95 kB / 0.6651 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1704, allocations: 35.91 kB / 0.6651 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.1707, allocations: 68.78 kB / 0.6652 GB, free: 5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1707, allocations: 0 / 0.6652 GB, free: 5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003137/0.171, allocations: 97.62 kB / 0.6653 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.171, allocations: 4 kB / 0.6653 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1711, allocations: 3.984 kB / 0.6653 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1711, allocations: 4 kB / 0.6653 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1712, allocations: 11.98 kB / 0.6653 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1712, allocations: 0 / 0.6653 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.1713, allocations: 15.98 kB / 0.6653 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1713, allocations: 0 / 0.6653 GB, free: 4.859 MB / 0.4981 GB 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.591e-05/0.1714, allocations: 121.7 kB / 0.6654 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1714, allocations: 7.906 kB / 0.6654 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/0.1718, allocations: 109.5 kB / 0.6655 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1718, allocations: 0 / 0.6655 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1718, allocations: 4 kB / 0.6655 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1718, allocations: 0 / 0.6655 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.172, allocations: 177.5 kB / 0.6657 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.172, allocations: 0 / 0.6657 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.451e-05/0.1721, allocations: 19.97 kB / 0.6657 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1721, allocations: 0 / 0.6657 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1721, allocations: 0 / 0.6657 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1721, allocations: 0 / 0.6657 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1721, allocations: 3.984 kB / 0.6657 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.1725, allocations: 207.6 kB / 0.6659 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.1725, allocations: 81.09 kB / 0.666 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1726, allocations: 0 / 0.666 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1727, allocations: 11.98 kB / 0.666 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1727, allocations: 15.97 kB / 0.666 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1727, allocations: 0 / 0.666 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.1728, allocations: 95.27 kB / 0.6661 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1728, allocations: 0 / 0.6661 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00027/0.1731, allocations: 31.98 kB / 0.6662 GB, free: 3.879 MB / 0.4981 GB 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.000212/0.1733, allocations: 131.2 kB / 0.6663 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.1737, allocations: 71.86 kB / 0.6664 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1737, allocations: 4 kB / 0.6664 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1738, allocations: 39.89 kB / 0.6664 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.1741, allocations: 10.28 kB / 0.6664 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.1745, allocations: 176.8 kB / 0.6666 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1748, allocations: 0.6846 MB / 0.6672 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.1748, allocations: 11.44 kB / 0.6673 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1748, allocations: 0 / 0.6673 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.002696/0.1775, allocations: 1.217 MB / 0.6684 GB, free: 1.477 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)