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.001418/0.001418, allocations: 105.8 kB / 16.41 MB, free: 6.496 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.001488/0.001488, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8293/0.8293, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.38 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00269/0.1476, allocations: 1.403 MB / 0.6617 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000464/0.1481, allocations: 203.5 kB / 0.6619 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.1481, allocations: 0 / 0.6619 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.1482, allocations: 3.984 kB / 0.6619 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.1482, allocations: 7.938 kB / 0.6619 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1485, allocations: 19.91 kB / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.1485, allocations: 19.92 kB / 0.6619 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1486, allocations: 12 kB / 0.6619 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.1487, allocations: 11.92 kB / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.955e-05/0.1487, allocations: 8 kB / 0.662 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1488, allocations: 3.984 kB / 0.662 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.1489, allocations: 27.97 kB / 0.662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1489, allocations: 15.88 kB / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.1489, allocations: 0 / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.149, allocations: 47.83 kB / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1491, allocations: 0 / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1491, allocations: 0 / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1491, allocations: 7.984 kB / 0.6621 GB, free: 8.473 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.0004457/0.1495, allocations: 335.6 kB / 0.6624 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1496, allocations: 8.031 kB / 0.6624 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1497, allocations: 12.78 kB / 0.6624 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1498, allocations: 164.3 kB / 0.6626 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1498, allocations: 384 / 0.6626 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1499, allocations: 8.359 kB / 0.6626 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.15, allocations: 50.23 kB / 0.6626 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1501, allocations: 4.125 kB / 0.6626 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1501, allocations: 7.938 kB / 0.6626 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1501, allocations: 0 / 0.6626 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.1503, allocations: 35.89 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.1506, allocations: 240.9 kB / 0.6629 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1508, allocations: 50.53 kB / 0.6629 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.1509, allocations: 20.91 kB / 0.663 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1509, allocations: 0 / 0.663 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1509, allocations: 30.56 kB / 0.663 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1509, allocations: 0 / 0.663 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003488/0.1513, allocations: 93.48 kB / 0.6631 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1514, allocations: 51.41 kB / 0.6631 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.1514, allocations: 105.8 kB / 0.6632 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1514, allocations: 25.7 kB / 0.6632 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.1515, allocations: 80.14 kB / 0.6633 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.1515, allocations: 3.906 kB / 0.6633 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1516, allocations: 17.72 kB / 0.6633 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1517, allocations: 319 kB / 0.6636 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.1518, allocations: 11.98 kB / 0.6637 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.1518, allocations: 19.98 kB / 0.6637 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.152, allocations: 36.77 kB / 0.6637 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.152, allocations: 4 kB / 0.6637 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.1522, allocations: 69.66 kB / 0.6638 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1522, allocations: 8 kB / 0.6638 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1522, allocations: 4 kB / 0.6638 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1523, allocations: 0 / 0.6638 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.1523, allocations: 7.984 kB / 0.6638 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1524, allocations: 0 / 0.6638 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.1524, allocations: 7.984 kB / 0.6638 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1524, allocations: 4 kB / 0.6638 GB, free: 6.445 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.425e-05/0.1525, allocations: 118.7 kB / 0.6639 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1525, allocations: 0 / 0.6639 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1528, allocations: 80.7 kB / 0.664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1528, allocations: 0 / 0.664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1528, allocations: 0 / 0.664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1528, allocations: 4 kB / 0.664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.153, allocations: 165.5 kB / 0.6642 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.153, allocations: 3.938 kB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.1531, allocations: 11.98 kB / 0.6642 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1531, allocations: 0 / 0.6642 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1531, allocations: 0 / 0.6642 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1531, allocations: 0 / 0.6642 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1531, allocations: 0 / 0.6642 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1534, allocations: 187.5 kB / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.1534, allocations: 77.11 kB / 0.6644 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1534, allocations: 0 / 0.6644 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.1535, allocations: 11.98 kB / 0.6644 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1536, allocations: 4 kB / 0.6644 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1536, allocations: 0 / 0.6644 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.1536, allocations: 79.28 kB / 0.6645 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1536, allocations: 0 / 0.6645 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000221/0.1538, allocations: 4 kB / 0.6645 GB, free: 5.609 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 0.000113/0.154, allocations: 107.2 kB / 0.6646 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1542, allocations: 31.97 kB / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1542, allocations: 0 / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.1543, allocations: 27.91 kB / 0.6647 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1546, allocations: 11.88 kB / 0.6647 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.1549, allocations: 144.3 kB / 0.6648 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1552, allocations: 0.6807 MB / 0.6655 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.1552, allocations: 7.438 kB / 0.6655 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1552, allocations: 0 / 0.6655 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of Templates: time 0.00189/0.1571, allocations: 0.5921 MB / 0.6661 GB, free: 3.949 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)