Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001223/0.001223, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001428/0.001428, allocations: 185.5 kB / 17.34 MB, free: 5.766 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 / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8167/0.8167, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.11 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1546, allocations: 80.92 MB / 0.6653 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003268/0.158, allocations: 1.667 MB / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.159, allocations: 398.8 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.159, allocations: 0 / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1592, allocations: 11.86 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.1592, allocations: 35.66 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1597, allocations: 103.7 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1599, allocations: 111.6 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.16, allocations: 39.92 kB / 0.6676 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.1601, allocations: 35.86 kB / 0.6676 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.1602, allocations: 47.77 kB / 0.6677 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1602, allocations: 8 kB / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1604, allocations: 67.94 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.1604, allocations: 19.92 kB / 0.6677 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.1605, allocations: 43.8 kB / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1607, allocations: 123.7 kB / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1607, allocations: 4 kB / 0.6679 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1607, allocations: 4 kB / 0.6679 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1607, allocations: 0 / 0.6679 GB, free: 3.121 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.000579/0.1613, allocations: 415 kB / 0.6683 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1613, allocations: 13.11 kB / 0.6683 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.1616, allocations: 28.81 kB / 0.6684 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1619, allocations: 211.4 kB / 0.6686 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.162, allocations: 34.27 kB / 0.6686 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.162, allocations: 8.375 kB / 0.6686 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.1622, allocations: 107.8 kB / 0.6687 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1623, allocations: 3.938 kB / 0.6687 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1623, allocations: 0 / 0.6687 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1623, allocations: 7.938 kB / 0.6687 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.1625, allocations: 83.88 kB / 0.6688 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.1633, allocations: 384.5 kB / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.1638, allocations: 130.5 kB / 0.6693 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.164, allocations: 40.88 kB / 0.6693 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.164, allocations: 3.938 kB / 0.6693 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.164, allocations: 34.56 kB / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.164, allocations: 0 / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004363/0.1645, allocations: 141.8 kB / 0.6695 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.1646, allocations: 55.41 kB / 0.6695 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1647, allocations: 143.2 kB / 0.6697 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1647, allocations: 29.7 kB / 0.6697 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1649, allocations: 96.05 kB / 0.6698 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1649, allocations: 23.64 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1649, allocations: 21.72 kB / 0.6698 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.165, allocations: 322.8 kB / 0.6701 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1652, allocations: 31.97 kB / 0.6702 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1653, allocations: 41.7 kB / 0.6702 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1655, allocations: 86.06 kB / 0.6703 GB, free: 456 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.1655, allocations: 4 kB / 0.6703 GB, free: 452 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002597/0.1658, allocations: 105.5 kB / 0.6704 GB, free: 340 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1658, allocations: 8 kB / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1658, allocations: 0 / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1658, allocations: 0 / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1659, allocations: 23.86 kB / 0.6704 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1659, allocations: 4 kB / 0.6704 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.166, allocations: 23.86 kB / 0.6705 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1661, allocations: 0 / 0.6705 GB, free: 280 kB / 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 7.622e-05/0.1661, allocations: 115.2 kB / 0.6706 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.1662, allocations: 7.906 kB / 0.6706 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.1662, allocations: 24.7 kB / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1662, allocations: 3.938 kB / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1662, allocations: 0 / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1662, allocations: 3.938 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1665, allocations: 193.6 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1665, allocations: 4 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.1666, allocations: 15.98 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1666, allocations: 0 / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1666, allocations: 4 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1666, allocations: 3.938 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.1666, allocations: 7.922 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.167, allocations: 199.4 kB / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.1671, allocations: 81.02 kB / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1671, allocations: 8 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1673, allocations: 11.92 kB / 0.6711 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1673, allocations: 7.984 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1673, allocations: 4 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.453e-05/0.1674, allocations: 105.7 kB / 0.6712 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1674, allocations: 0 / 0.6712 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002488/0.1677, allocations: 27.98 kB / 0.6713 GB, free: 15.37 MB / 0.5137 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.0001409/0.1678, allocations: 99.25 kB / 0.6714 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.1681, allocations: 75.88 kB / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1681, allocations: 0 / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.1683, allocations: 43.91 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1686, allocations: 28.03 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.1691, allocations: 236.5 kB / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1695, allocations: 0.6929 MB / 0.6724 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.1695, allocations: 11.44 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1695, allocations: 4 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.00288/0.1724, allocations: 1.311 MB / 0.6737 GB, free: 12.81 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)