Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") 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: 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.001646/0.001646, 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8185/0.8185, allocations: 132.2 MB / 423.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.58 kB / 0.582 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1407, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002552/0.1433, allocations: 1.409 MB / 0.6617 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.1438, allocations: 207.4 kB / 0.6619 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.1438, allocations: 0 / 0.6619 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.1439, allocations: 4 kB / 0.6619 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.1439, allocations: 7.922 kB / 0.6619 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1441, allocations: 19.91 kB / 0.6619 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.1442, allocations: 27.92 kB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.1443, allocations: 4 kB / 0.6619 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.1444, allocations: 11.92 kB / 0.662 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.485e-05/0.1444, allocations: 8 kB / 0.662 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1444, allocations: 4 kB / 0.662 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.1445, allocations: 27.97 kB / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.1445, allocations: 7.938 kB / 0.662 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.1445, allocations: 7.984 kB / 0.662 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.1447, allocations: 39.84 kB / 0.662 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1447, allocations: 0 / 0.662 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.036e-06/0.1447, allocations: 4 kB / 0.6621 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1447, allocations: 3.938 kB / 0.6621 GB, free: 8.516 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.0004366/0.1451, allocations: 335.6 kB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1452, allocations: 8.031 kB / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1453, allocations: 12.83 kB / 0.6624 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1454, allocations: 164.3 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.1455, allocations: 384 / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1455, allocations: 4.375 kB / 0.6626 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1457, allocations: 58.17 kB / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1457, allocations: 4.172 kB / 0.6626 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1457, allocations: 3.938 kB / 0.6626 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1457, allocations: 0 / 0.6626 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1459, allocations: 35.95 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.1462, allocations: 244.9 kB / 0.6629 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1464, allocations: 46.48 kB / 0.6629 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.934e-05/0.1465, allocations: 20.91 kB / 0.663 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1465, allocations: 0 / 0.663 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1465, allocations: 34.56 kB / 0.663 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1465, allocations: 0 / 0.663 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003611/0.1469, allocations: 89.48 kB / 0.6631 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1469, allocations: 55.41 kB / 0.6631 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.147, allocations: 101.8 kB / 0.6632 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.147, allocations: 29.69 kB / 0.6632 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.1471, allocations: 80.14 kB / 0.6633 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.1471, allocations: 11.89 kB / 0.6633 GB, free: 7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1472, allocations: 17.84 kB / 0.6634 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1473, allocations: 310.8 kB / 0.6636 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.1474, allocations: 19.97 kB / 0.6637 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.1474, allocations: 15.98 kB / 0.6637 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1476, allocations: 36.83 kB / 0.6637 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1476, allocations: 4.062 kB / 0.6637 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002042/0.1478, allocations: 69.53 kB / 0.6638 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1478, allocations: 8 kB / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1479, allocations: 0 / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1479, allocations: 0 / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.148, allocations: 11.98 kB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.148, allocations: 0 / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.148, allocations: 12.02 kB / 0.6638 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.148, allocations: 0 / 0.6638 GB, free: 6.48 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 7.409e-05/0.1481, allocations: 114.7 kB / 0.6639 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1482, allocations: 4 kB / 0.6639 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1484, allocations: 72.72 kB / 0.664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1484, allocations: 7.984 kB / 0.664 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1485, allocations: 4 kB / 0.664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1485, allocations: 3.938 kB / 0.664 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1486, allocations: 157.6 kB / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1486, allocations: 0 / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.1487, allocations: 15.98 kB / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1487, allocations: 0 / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.1487, allocations: 0 / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1487, allocations: 0 / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1487, allocations: 4 kB / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.149, allocations: 171.4 kB / 0.6643 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.149, allocations: 81.09 kB / 0.6644 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1491, allocations: 4.219 kB / 0.6644 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.1492, allocations: 8 kB / 0.6644 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.1492, allocations: 7.984 kB / 0.6644 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1492, allocations: 0 / 0.6644 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.1492, allocations: 83.27 kB / 0.6645 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1493, allocations: 4 kB / 0.6645 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002189/0.1495, allocations: 4 kB / 0.6645 GB, free: 5.645 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 (3): * Single equations (assignments): 3 * 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 9.542e-05/0.1496, allocations: 99.25 kB / 0.6646 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1498, allocations: 39.95 kB / 0.6647 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1498, allocations: 3.938 kB / 0.6647 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.1499, allocations: 23.92 kB / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.1502, allocations: 11.98 kB / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.1505, allocations: 140.2 kB / 0.6648 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1507, allocations: 0.6807 MB / 0.6655 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.1507, allocations: 7.438 kB / 0.6655 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1508, allocations: 0 / 0.6655 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of Templates: time 0.001771/0.1525, allocations: 0.5813 MB / 0.6661 GB, free: 4 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)