Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007126/0.007126, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001229/0.001229, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8126/0.8126, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, allocations: 80.93 MB / 0.6646 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002456/0.1524, allocations: 1.395 MB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004404/0.1529, allocations: 215.4 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.1529, allocations: 0 / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.153, allocations: 0 / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.153, allocations: 3.938 kB / 0.6662 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.1532, allocations: 27.89 kB / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.1533, allocations: 23.92 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.1534, allocations: 4 kB / 0.6663 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.1534, allocations: 11.94 kB / 0.6663 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.1535, allocations: 15.92 kB / 0.6663 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1535, allocations: 0 / 0.6663 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.1536, allocations: 27.97 kB / 0.6663 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1536, allocations: 15.92 kB / 0.6663 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.1536, allocations: 4 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1538, allocations: 43.78 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1538, allocations: 0 / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1538, allocations: 0 / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.1538, allocations: 0 / 0.6664 GB, free: 4.027 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.0004197/0.1542, allocations: 343.5 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1543, allocations: 9.109 kB / 0.6667 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1544, allocations: 8.844 kB / 0.6667 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1545, allocations: 172.3 kB / 0.6669 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1545, allocations: 384 / 0.6669 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.1545, allocations: 4.375 kB / 0.6669 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1547, allocations: 46.23 kB / 0.6669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1547, allocations: 192 / 0.6669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1547, allocations: 11.88 kB / 0.6669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1547, allocations: 8 kB / 0.6669 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1549, allocations: 35.89 kB / 0.667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.1552, allocations: 241 kB / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1554, allocations: 42.5 kB / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.1554, allocations: 24.89 kB / 0.6673 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1555, allocations: 0 / 0.6673 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1555, allocations: 30.56 kB / 0.6673 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1555, allocations: 0 / 0.6673 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003285/0.1558, allocations: 85.58 kB / 0.6674 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1559, allocations: 55.53 kB / 0.6674 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.156, allocations: 101.9 kB / 0.6675 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.156, allocations: 25.7 kB / 0.6676 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.156, allocations: 80.14 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.156, allocations: 7.891 kB / 0.6676 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.1561, allocations: 17.72 kB / 0.6677 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1562, allocations: 310.8 kB / 0.668 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.1563, allocations: 15.98 kB / 0.668 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1564, allocations: 23.97 kB / 0.668 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1565, allocations: 36.77 kB / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1565, allocations: 0 / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.1567, allocations: 73.5 kB / 0.6681 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1567, allocations: 8.094 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1567, allocations: 4 kB / 0.6681 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1568, allocations: 3.938 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1569, allocations: 11.98 kB / 0.6681 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1569, allocations: 0 / 0.6681 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.1569, allocations: 4 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.157, allocations: 0 / 0.6681 GB, free: 1.996 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 0.0001175/0.1571, allocations: 119.1 kB / 0.6682 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1571, allocations: 4 kB / 0.6682 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1574, allocations: 76.72 kB / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1574, allocations: 240 / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1574, allocations: 0 / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1574, allocations: 7.984 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1576, allocations: 161.6 kB / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1576, allocations: 3.938 kB / 0.6685 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.578e-05/0.1577, allocations: 15.98 kB / 0.6685 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1577, allocations: 0 / 0.6685 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1578, allocations: 4 kB / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1578, allocations: 7.984 kB / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1578, allocations: 0 / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.158, allocations: 171.4 kB / 0.6687 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.1581, allocations: 81.02 kB / 0.6688 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1581, allocations: 4 kB / 0.6688 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.1582, allocations: 7.984 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1582, allocations: 4 kB / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.1583, allocations: 0 / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.1583, allocations: 83.27 kB / 0.6688 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1583, allocations: 0 / 0.6688 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002272/0.1586, allocations: 8 kB / 0.6689 GB, free: 1.148 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.0001178/0.1587, allocations: 95.25 kB / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1589, allocations: 39.95 kB / 0.669 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1589, allocations: 0 / 0.669 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.159, allocations: 27.92 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1593, allocations: 3.938 kB / 0.669 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.1597, allocations: 118.5 kB / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1599, allocations: 0.6807 MB / 0.6698 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.1599, allocations: 3.984 kB / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.16, allocations: 11.44 kB / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.16, allocations: 0 / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of Templates: time 0.002524/0.1625, allocations: 0.494 MB / 0.6703 GB, free: 15.62 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)