Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001606/0.001606, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.00184/0.00184, allocations: 188.1 kB / 17.34 MB, free: 5.742 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8072/0.8072, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.16 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 80.2 MB / 0.6603 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002103/0.1479, allocations: 1.26 MB / 0.6616 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1492, allocations: 0.8485 MB / 0.6624 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.1492, allocations: 0 / 0.6624 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.1492, allocations: 0 / 0.6624 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.1493, allocations: 7.938 kB / 0.6624 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.1497, allocations: 131.4 kB / 0.6625 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.1498, allocations: 23.92 kB / 0.6625 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.1498, allocations: 3.984 kB / 0.6625 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.1499, allocations: 11.94 kB / 0.6626 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.15, allocations: 11.98 kB / 0.6626 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.15, allocations: 3.938 kB / 0.6626 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.1503, allocations: 167.8 kB / 0.6627 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1503, allocations: 3.938 kB / 0.6627 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.1503, allocations: 8 kB / 0.6627 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1506, allocations: 123.7 kB / 0.6629 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1506, allocations: 0 / 0.6629 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1506, allocations: 0 / 0.6629 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1506, allocations: 0 / 0.6629 GB, free: 7.789 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004802/0.1511, allocations: 367.4 kB / 0.6632 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1511, allocations: 8.031 kB / 0.6632 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.1512, allocations: 8.844 kB / 0.6632 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1513, allocations: 164.3 kB / 0.6634 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/0.1514, allocations: 34.25 kB / 0.6634 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1515, allocations: 4.375 kB / 0.6634 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1516, allocations: 46.25 kB / 0.6635 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1517, allocations: 3.938 kB / 0.6635 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1517, allocations: 3.984 kB / 0.6635 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1517, allocations: 0 / 0.6635 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1518, allocations: 19.98 kB / 0.6635 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.152, allocations: 153.7 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.1523, allocations: 54.55 kB / 0.6637 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.1524, allocations: 16.94 kB / 0.6637 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/0.1528, allocations: 178.2 kB / 0.6639 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1528, allocations: 30.56 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.1528, allocations: 4 kB / 0.6639 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003293/0.1532, allocations: 69.61 kB / 0.664 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1532, allocations: 59.34 kB / 0.664 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.1533, allocations: 93.86 kB / 0.6641 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1534, allocations: 29.7 kB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1534, allocations: 80.14 kB / 0.6642 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1535, allocations: 23.67 kB / 0.6642 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.1535, allocations: 13.72 kB / 0.6643 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1536, allocations: 318.8 kB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.1537, allocations: 11.98 kB / 0.6646 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.1538, allocations: 4 kB / 0.6646 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.154, allocations: 28.84 kB / 0.6646 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.154, allocations: 4 kB / 0.6646 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002025/0.1542, allocations: 49.69 kB / 0.6647 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1542, allocations: 15.86 kB / 0.6647 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1542, allocations: 0 / 0.6647 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1543, allocations: 8 kB / 0.6647 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.1543, allocations: 8 kB / 0.6647 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1544, allocations: 0 / 0.6647 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.1544, allocations: 4 kB / 0.6647 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1544, allocations: 3.938 kB / 0.6647 GB, free: 5.637 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 (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 7.481e-05/0.1545, allocations: 110.7 kB / 0.6648 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.1545, allocations: 11.84 kB / 0.6648 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.1547, allocations: 65.69 kB / 0.6649 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1547, allocations: 4 kB / 0.6649 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1547, allocations: 4 kB / 0.6649 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1547, allocations: 3.938 kB / 0.6649 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1548, allocations: 161.7 kB / 0.665 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1548, allocations: 0 / 0.665 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.1549, allocations: 8 kB / 0.6651 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1549, allocations: 7.969 kB / 0.6651 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1549, allocations: 0 / 0.6651 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1549, allocations: 3.984 kB / 0.6651 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1549, allocations: 0 / 0.6651 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1551, allocations: 81.12 kB / 0.6651 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.1552, allocations: 89 kB / 0.6652 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1552, allocations: 3.938 kB / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.1552, allocations: 4 kB / 0.6652 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1553, allocations: 7.984 kB / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1553, allocations: 0 / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.1553, allocations: 83.28 kB / 0.6653 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1554, allocations: 3.938 kB / 0.6653 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000227/0.1556, allocations: 31.94 kB / 0.6654 GB, free: 4.855 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 (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.0002062/0.1558, allocations: 135.2 kB / 0.6655 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.1559, allocations: 23.98 kB / 0.6655 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.156, allocations: 0 / 0.6655 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.156, allocations: 19.98 kB / 0.6655 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1562, allocations: 13.5 kB / 0.6655 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.1565, allocations: 156.7 kB / 0.6657 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.1568, allocations: 0.6767 MB / 0.6663 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.1568, allocations: 11.44 kB / 0.6664 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1568, allocations: 0 / 0.6664 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of Templates: time 0.002276/0.1591, allocations: 0.996 MB / 0.6673 GB, free: 2.766 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)