Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01085/0.01085, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001851/0.001852, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7693/0.7693, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.5813 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4538, allocations: 80.2 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002176/0.456, allocations: 1.397 MB / 0.661 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.457, allocations: 0.5943 MB / 0.6616 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.457, allocations: 1.281 kB / 0.6616 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.457, allocations: 0.5156 kB / 0.6616 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.4571, allocations: 14 kB / 0.6616 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.4575, allocations: 95 kB / 0.6617 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.4576, allocations: 34.06 kB / 0.6617 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.4577, allocations: 3.828 kB / 0.6617 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.4577, allocations: 9.109 kB / 0.6618 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.4578, allocations: 14.62 kB / 0.6618 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.4578, allocations: 6.594 kB / 0.6618 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.4581, allocations: 150.6 kB / 0.6619 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.4581, allocations: 1.594 kB / 0.6619 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.4581, allocations: 12.55 kB / 0.6619 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.4583, allocations: 99.41 kB / 0.662 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4584, allocations: 5.312 kB / 0.662 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4584, allocations: 0 / 0.662 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.4584, allocations: 0 / 0.662 GB, free: 8.781 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004707/0.4588, allocations: 363.4 kB / 0.6624 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4589, allocations: 11.42 kB / 0.6624 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.4593, allocations: 33.38 kB / 0.6624 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.4594, allocations: 163.4 kB / 0.6626 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.4595, allocations: 1.078 kB / 0.6626 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.4595, allocations: 1.844 kB / 0.6626 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.4597, allocations: 63.61 kB / 0.6626 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4598, allocations: 4.188 kB / 0.6626 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.4598, allocations: 7.938 kB / 0.6627 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.4598, allocations: 5.047 kB / 0.6627 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.4601, allocations: 44.02 kB / 0.6627 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.4605, allocations: 282.5 kB / 0.663 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.4608, allocations: 60.69 kB / 0.663 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.4609, allocations: 30.8 kB / 0.6631 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.4609, allocations: 1.625 kB / 0.6631 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.461, allocations: 38.56 kB / 0.6631 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.195e-06/0.461, allocations: 1.469 kB / 0.6631 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000497/0.4615, allocations: 121.8 kB / 0.6632 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.4615, allocations: 56.78 kB / 0.6633 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.4616, allocations: 97.86 kB / 0.6634 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.4616, allocations: 26.89 kB / 0.6634 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.4616, allocations: 81.52 kB / 0.6635 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.4617, allocations: 7.891 kB / 0.6635 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.4617, allocations: 21.81 kB / 0.6635 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.4618, allocations: 310.8 kB / 0.6638 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.4619, allocations: 29.34 kB / 0.6638 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.462, allocations: 26.5 kB / 0.6638 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.4622, allocations: 56.02 kB / 0.6639 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4623, allocations: 5.062 kB / 0.6639 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002681/0.4625, allocations: 93.11 kB / 0.664 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4626, allocations: 5.812 kB / 0.664 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4626, allocations: 0 / 0.664 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4626, allocations: 1.219 kB / 0.664 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4627, allocations: 19.88 kB / 0.664 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4627, allocations: 3.938 kB / 0.664 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.4628, allocations: 8.984 kB / 0.664 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4628, allocations: 1.062 kB / 0.664 GB, free: 6.84 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 (2): * Single equations (assignments): 2 * 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 5.361e-05/0.4629, allocations: 112.8 kB / 0.6641 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.4629, allocations: 1.094 kB / 0.6641 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.463, allocations: 12.25 kB / 0.6641 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.463, allocations: 1.344 kB / 0.6641 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.463, allocations: 3.984 kB / 0.6642 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.463, allocations: 0 / 0.6642 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.4631, allocations: 164.3 kB / 0.6643 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4631, allocations: 4 kB / 0.6643 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.4633, allocations: 12.33 kB / 0.6643 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4633, allocations: 192 / 0.6643 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4633, allocations: 1.312 kB / 0.6643 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4633, allocations: 3.984 kB / 0.6643 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4633, allocations: 7.938 kB / 0.6643 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.4636, allocations: 189.1 kB / 0.6645 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.4636, allocations: 82.2 kB / 0.6646 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.4636, allocations: 5.031 kB / 0.6646 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4638, allocations: 12.39 kB / 0.6646 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.4638, allocations: 9.047 kB / 0.6646 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.4638, allocations: 1.125 kB / 0.6646 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.206e-05/0.4638, allocations: 78.53 kB / 0.6647 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4639, allocations: 1.25 kB / 0.6647 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002532/0.4641, allocations: 10.31 kB / 0.6647 GB, free: 6.121 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 (2): * Single equations (assignments): 2 * 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.000164/0.4643, allocations: 113.7 kB / 0.6648 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.4646, allocations: 62.69 kB / 0.6649 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4646, allocations: 0 / 0.6649 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4647, allocations: 32.48 kB / 0.6649 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.465, allocations: 9.656 kB / 0.6649 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.4655, allocations: 126 kB / 0.665 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4656, allocations: 0.677 MB / 0.6657 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.42e-05/0.4657, allocations: 15.11 kB / 0.6657 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.4657, allocations: 12.83 kB / 0.6657 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4657, allocations: 1.312 kB / 0.6657 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of Templates: time 0.003092/0.4688, allocations: 0.7728 MB / 0.6665 GB, free: 4.727 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)