Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007617/0.007617, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001976/0.001976, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9808/0.9808, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 0.5862 GB, free: 2.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4654, allocations: 81.02 MB / 0.6654 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002055/0.4675, allocations: 1.283 MB / 0.6666 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.4683, allocations: 0.5656 MB / 0.6672 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.4684, allocations: 0 / 0.6672 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.4684, allocations: 0 / 0.6672 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.4684, allocations: 13.19 kB / 0.6672 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.4688, allocations: 87.98 kB / 0.6673 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.4689, allocations: 24.16 kB / 0.6673 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.4689, allocations: 6.797 kB / 0.6673 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.469, allocations: 2.938 kB / 0.6673 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.469, allocations: 4.25 kB / 0.6673 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.4691, allocations: 4 kB / 0.6673 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.4693, allocations: 150.8 kB / 0.6674 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.4693, allocations: 3.938 kB / 0.6674 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.4694, allocations: 4.469 kB / 0.6675 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.4696, allocations: 99.66 kB / 0.6675 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4696, allocations: 1.375 kB / 0.6675 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.542e-06/0.4696, allocations: 0 / 0.6675 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.4696, allocations: 0 / 0.6675 GB, free: 5.695 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003318/0.4699, allocations: 345.5 kB / 0.6679 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.47, allocations: 8.938 kB / 0.6679 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.4704, allocations: 29.25 kB / 0.6679 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.754e-05/0.4705, allocations: 170 kB / 0.6681 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4705, allocations: 384 / 0.6681 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.4705, allocations: 1.531 kB / 0.6681 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.4707, allocations: 49.95 kB / 0.6681 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4707, allocations: 4.188 kB / 0.6681 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4707, allocations: 3.938 kB / 0.6681 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4707, allocations: 1.344 kB / 0.6681 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.4708, allocations: 23.06 kB / 0.6682 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.471, allocations: 162.9 kB / 0.6683 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.4711, allocations: 44.17 kB / 0.6684 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.4712, allocations: 19.56 kB / 0.6684 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4712, allocations: 3.938 kB / 0.6684 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.4713, allocations: 31.97 kB / 0.6684 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.4713, allocations: 3.938 kB / 0.6684 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002893/0.4716, allocations: 77.06 kB / 0.6685 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.4716, allocations: 51.41 kB / 0.6685 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.4716, allocations: 97.92 kB / 0.6686 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.4717, allocations: 25.7 kB / 0.6687 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.4717, allocations: 81.73 kB / 0.6687 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.4717, allocations: 3.953 kB / 0.6687 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.4717, allocations: 17.8 kB / 0.6687 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.4718, allocations: 319 kB / 0.6691 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.4719, allocations: 10.73 kB / 0.6691 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.4719, allocations: 17.95 kB / 0.6691 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.4721, allocations: 26.94 kB / 0.6691 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4721, allocations: 4.062 kB / 0.6691 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001574/0.4722, allocations: 63.53 kB / 0.6692 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4722, allocations: 4.688 kB / 0.6692 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4723, allocations: 7.922 kB / 0.6692 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4723, allocations: 1.469 kB / 0.6692 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.4724, allocations: 5.125 kB / 0.6692 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4724, allocations: 0 / 0.6692 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.4724, allocations: 10.7 kB / 0.6692 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.4725, allocations: 0 / 0.6692 GB, free: 3.953 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 4.686e-05/0.4725, allocations: 111.3 kB / 0.6693 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.4725, allocations: 1.312 kB / 0.6693 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.4726, allocations: 12.34 kB / 0.6693 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4726, allocations: 1.344 kB / 0.6693 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4726, allocations: 0 / 0.6693 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4726, allocations: 7.984 kB / 0.6693 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.674e-05/0.4727, allocations: 149.5 kB / 0.6695 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4727, allocations: 1.344 kB / 0.6695 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.4728, allocations: 8.359 kB / 0.6695 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4728, allocations: 0 / 0.6695 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4728, allocations: 8.844 kB / 0.6695 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4728, allocations: 5.406 kB / 0.6695 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4728, allocations: 0 / 0.6695 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.473, allocations: 79.67 kB / 0.6696 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.473, allocations: 90.5 kB / 0.6697 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.473, allocations: 5.406 kB / 0.6697 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.4731, allocations: 5.688 kB / 0.6697 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.4731, allocations: 9.328 kB / 0.6697 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4731, allocations: 3.984 kB / 0.6697 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.924e-05/0.4732, allocations: 77.81 kB / 0.6698 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4732, allocations: 5.031 kB / 0.6698 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002026/0.4734, allocations: 14.75 kB / 0.6698 GB, free: 3.32 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.0001371/0.4735, allocations: 114.5 kB / 0.6699 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.4737, allocations: 27.81 kB / 0.6699 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4737, allocations: 0 / 0.6699 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.24e-05/0.4738, allocations: 16.61 kB / 0.6699 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.474, allocations: 14.09 kB / 0.6699 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.4743, allocations: 119 kB / 0.67 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.4744, allocations: 0.6757 MB / 0.6707 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.151e-05/0.4745, allocations: 18.59 kB / 0.6707 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.4745, allocations: 13.66 kB / 0.6707 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4745, allocations: 0 / 0.6707 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of Templates: time 0.002876/0.4774, allocations: 0.7274 MB / 0.6715 GB, free: 1.969 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)