Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001706/0.001707, allocations: 103 kB / 16.4 MB, free: 6.461 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.001949/0.001949, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7615/0.7615, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 71.72 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1417, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00249/0.1442, allocations: 1.276 MB / 0.6616 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009828/0.1452, allocations: 0.5697 MB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.1453, allocations: 0 / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.1453, allocations: 3.938 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.1454, allocations: 11.91 kB / 0.6622 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1458, allocations: 95.58 kB / 0.6622 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.1459, allocations: 15.88 kB / 0.6623 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.1459, allocations: 7.984 kB / 0.6623 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.146, allocations: 11.94 kB / 0.6623 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.146, allocations: 4 kB / 0.6623 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.146, allocations: 0 / 0.6623 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.1463, allocations: 143.8 kB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.1464, allocations: 4 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.1464, allocations: 7.938 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1466, allocations: 95.75 kB / 0.6625 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1466, allocations: 4 kB / 0.6625 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.1466, allocations: 4 kB / 0.6625 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1466, allocations: 0 / 0.6625 GB, free: 8.023 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.0004096/0.147, allocations: 335.5 kB / 0.6628 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1471, allocations: 8.031 kB / 0.6629 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.1475, allocations: 28.84 kB / 0.6629 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1476, allocations: 176.3 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1477, allocations: 4.375 kB / 0.6631 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1477, allocations: 384 / 0.6631 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1478, allocations: 42.23 kB / 0.6631 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1479, allocations: 192 / 0.6631 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1479, allocations: 7.938 kB / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1479, allocations: 0 / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.148, allocations: 23.97 kB / 0.6631 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1482, allocations: 157.7 kB / 0.6633 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1484, allocations: 50.5 kB / 0.6633 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.1485, allocations: 16.91 kB / 0.6633 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1485, allocations: 4 kB / 0.6633 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1485, allocations: 34.56 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1485, allocations: 0 / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003252/0.1488, allocations: 73.59 kB / 0.6634 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1489, allocations: 55.34 kB / 0.6635 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.149, allocations: 93.98 kB / 0.6636 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.149, allocations: 29.7 kB / 0.6636 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.149, allocations: 84.14 kB / 0.6637 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1491, allocations: 7.844 kB / 0.6637 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1491, allocations: 17.7 kB / 0.6637 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1492, allocations: 314.8 kB / 0.664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.1493, allocations: 19.92 kB / 0.664 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.1494, allocations: 11.98 kB / 0.6641 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1495, allocations: 32.84 kB / 0.6641 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1495, allocations: 0 / 0.6641 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.1497, allocations: 53.67 kB / 0.6641 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1497, allocations: 11.94 kB / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1497, allocations: 12.02 kB / 0.6642 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1498, allocations: 0 / 0.6642 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1499, allocations: 4 kB / 0.6642 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.1499, allocations: 4 kB / 0.6642 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.15, allocations: 7.984 kB / 0.6642 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.15, allocations: 0 / 0.6642 GB, free: 6.109 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.973e-05/0.1501, allocations: 110.7 kB / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.1501, allocations: 4 kB / 0.6643 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.1501, allocations: 11.06 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1501, allocations: 0 / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1501, allocations: 0 / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1501, allocations: 3.984 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1503, allocations: 157.6 kB / 0.6645 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1503, allocations: 0 / 0.6645 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.1504, allocations: 11.98 kB / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1504, allocations: 0 / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1504, allocations: 7.938 kB / 0.6645 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1504, allocations: 0 / 0.6645 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1504, allocations: 0 / 0.6645 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1506, allocations: 88.95 kB / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.1507, allocations: 81.09 kB / 0.6646 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1507, allocations: 7.938 kB / 0.6646 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.1508, allocations: 8.031 kB / 0.6646 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.1508, allocations: 3.984 kB / 0.6647 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1508, allocations: 4 kB / 0.6647 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.449e-05/0.1508, allocations: 75.28 kB / 0.6647 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1508, allocations: 0 / 0.6647 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002066/0.1511, allocations: 16 kB / 0.6647 GB, free: 5.43 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.0001754/0.1512, allocations: 111.2 kB / 0.6648 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1514, allocations: 35.97 kB / 0.6649 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1514, allocations: 0 / 0.6649 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.1515, allocations: 19.92 kB / 0.6649 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1517, allocations: 4 kB / 0.6649 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.1521, allocations: 144.3 kB / 0.665 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1523, allocations: 0.6806 MB / 0.6657 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.1524, allocations: 11.42 kB / 0.6657 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1524, allocations: 0 / 0.6657 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.00226/0.1547, allocations: 0.7882 MB / 0.6665 GB, free: 3.574 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)