Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006732/0.006732, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.00113/0.00113, allocations: 195.5 kB / 16.68 MB, free: 5.973 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.363/1.363, allocations: 222.9 MB / 240.4 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.7869/0.7869, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.5 kB / 0.5813 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1726, allocations: 80.2 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003169/0.1758, allocations: 1.661 MB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007184/0.1765, allocations: 406.7 kB / 0.6617 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.1766, allocations: 3.938 kB / 0.6617 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.1767, allocations: 15.86 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/0.1768, allocations: 19.8 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.1772, allocations: 115.6 kB / 0.6618 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1774, allocations: 111.6 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1776, allocations: 39.95 kB / 0.662 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.1776, allocations: 47.84 kB / 0.662 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.1777, allocations: 39.78 kB / 0.662 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.1778, allocations: 8 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1779, allocations: 59.95 kB / 0.6621 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.1779, allocations: 15.97 kB / 0.6621 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.178, allocations: 55.72 kB / 0.6622 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1782, allocations: 131.5 kB / 0.6623 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1782, allocations: 0 / 0.6623 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.066e-06/0.1783, allocations: 0 / 0.6623 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1783, allocations: 3.938 kB / 0.6623 GB, free: 7.555 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007321/0.179, allocations: 422.9 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.179, allocations: 8.031 kB / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.1793, allocations: 28.86 kB / 0.6627 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.1795, allocations: 204.2 kB / 0.6629 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.1796, allocations: 38.25 kB / 0.663 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1796, allocations: 4.375 kB / 0.663 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.18, allocations: 99.92 kB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.18, allocations: 7.875 kB / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.18, allocations: 4 kB / 0.6631 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.18, allocations: 4 kB / 0.6631 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.1803, allocations: 87.92 kB / 0.6632 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.1811, allocations: 376.5 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.1816, allocations: 130.6 kB / 0.6637 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1817, allocations: 40.84 kB / 0.6637 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1817, allocations: 4 kB / 0.6637 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1818, allocations: 34.55 kB / 0.6637 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1818, allocations: 0 / 0.6637 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004164/0.1822, allocations: 141.7 kB / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1822, allocations: 55.41 kB / 0.6639 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1823, allocations: 147.5 kB / 0.6641 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1824, allocations: 25.7 kB / 0.6641 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.1824, allocations: 108 kB / 0.6642 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1825, allocations: 23.78 kB / 0.6642 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.1825, allocations: 21.72 kB / 0.6642 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1826, allocations: 318.8 kB / 0.6645 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1827, allocations: 27.98 kB / 0.6646 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1828, allocations: 45.69 kB / 0.6646 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1831, allocations: 85.61 kB / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1831, allocations: 0 / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002527/0.1833, allocations: 109.6 kB / 0.6648 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1833, allocations: 11.94 kB / 0.6648 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1834, allocations: 4 kB / 0.6648 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1834, allocations: 0 / 0.6648 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1835, allocations: 23.92 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1835, allocations: 0 / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.1836, allocations: 15.97 kB / 0.6648 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1836, allocations: 4 kB / 0.6648 GB, free: 4.707 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.573e-05/0.1837, allocations: 118.7 kB / 0.665 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1837, allocations: 7.953 kB / 0.665 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.1838, allocations: 8.719 kB / 0.665 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1838, allocations: 3.938 kB / 0.665 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1838, allocations: 4 kB / 0.665 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1838, allocations: 0 / 0.665 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.184, allocations: 197.6 kB / 0.6652 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.184, allocations: 7.938 kB / 0.6652 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-05/0.1841, allocations: 19.92 kB / 0.6652 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1841, allocations: 4 kB / 0.6652 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1841, allocations: 0 / 0.6652 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.1841, allocations: 3.938 kB / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1842, allocations: 0 / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1844, allocations: 207.4 kB / 0.6654 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.1845, allocations: 89 kB / 0.6655 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1845, allocations: 0 / 0.6655 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1847, allocations: 15.92 kB / 0.6655 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1847, allocations: 4 kB / 0.6655 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1847, allocations: 7.984 kB / 0.6655 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001003/0.1848, allocations: 105.1 kB / 0.6656 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1849, allocations: 0 / 0.6656 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002577/0.1851, allocations: 23.95 kB / 0.6656 GB, free: 3.797 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 (7): * Single equations (assignments): 7 * 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.0001063/0.1852, allocations: 103.2 kB / 0.6657 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.1856, allocations: 71.94 kB / 0.6658 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1856, allocations: 3.938 kB / 0.6658 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1857, allocations: 40.7 kB / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.186, allocations: 36.17 kB / 0.6659 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.1865, allocations: 202.9 kB / 0.6661 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1867, allocations: 0.6963 MB / 0.6668 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.658e-05/0.1868, allocations: 8.672 kB / 0.6668 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1869, allocations: 11.44 kB / 0.6668 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1869, allocations: 0 / 0.6668 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of Templates: time 0.004057/0.1909, allocations: 1.47 MB / 0.6682 GB, free: 1.121 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)