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.001082/0.001082, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.306/1.306, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9118/0.9118, allocations: 135.1 MB / 425.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.25 kB / 0.5053 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 80.93 MB / 0.5843 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002438/0.1481, allocations: 1.468 MB / 0.5858 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000433/0.1486, allocations: 203.5 kB / 0.586 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1486, allocations: 0 / 0.586 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.1486, allocations: 3.984 kB / 0.586 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.1487, allocations: 3.938 kB / 0.586 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.1488, allocations: 15.97 kB / 0.586 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.1489, allocations: 31.86 kB / 0.586 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.149, allocations: 8 kB / 0.586 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.149, allocations: 0 / 0.586 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.326e-05/0.1491, allocations: 19.91 kB / 0.586 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1491, allocations: 4 kB / 0.586 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.1492, allocations: 19.98 kB / 0.5861 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1492, allocations: 7.984 kB / 0.5861 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.1492, allocations: 7.938 kB / 0.5861 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.746e-05/0.1493, allocations: 24.25 kB / 0.5861 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1493, allocations: 4 kB / 0.5861 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1493, allocations: 4 kB / 0.5861 GB, free: 3.211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.1493, allocations: 0 / 0.5861 GB, free: 3.211 MB / 494.1 MB 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.0003952/0.1497, allocations: 339.4 kB / 0.5864 GB, free: 2.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1498, allocations: 8.031 kB / 0.5864 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1499, allocations: 8.938 kB / 0.5865 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/0.15, allocations: 160.4 kB / 0.5866 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.15, allocations: 4.312 kB / 0.5866 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.15, allocations: 4.375 kB / 0.5866 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1502, allocations: 54.23 kB / 0.5867 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1502, allocations: 4.125 kB / 0.5867 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1502, allocations: 3.938 kB / 0.5867 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1502, allocations: 0 / 0.5867 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.1504, allocations: 35.95 kB / 0.5867 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.1507, allocations: 252.8 kB / 0.5869 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1508, allocations: 46.53 kB / 0.587 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.1509, allocations: 16.91 kB / 0.587 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1509, allocations: 0 / 0.587 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.151, allocations: 42.5 kB / 0.587 GB, free: 2.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.151, allocations: 3.938 kB / 0.5871 GB, free: 2.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003102/0.1513, allocations: 77.64 kB / 0.5871 GB, free: 2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1513, allocations: 55.41 kB / 0.5872 GB, free: 1.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.1514, allocations: 105.8 kB / 0.5873 GB, free: 1.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1514, allocations: 25.7 kB / 0.5873 GB, free: 1.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1514, allocations: 80.14 kB / 0.5874 GB, free: 1.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1515, allocations: 11.91 kB / 0.5874 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1515, allocations: 13.84 kB / 0.5874 GB, free: 1.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1516, allocations: 314.8 kB / 0.5877 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.1517, allocations: 19.98 kB / 0.5877 GB, free: 1.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1518, allocations: 15.92 kB / 0.5877 GB, free: 1.324 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1519, allocations: 44.89 kB / 0.5878 GB, free: 1.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1519, allocations: 0 / 0.5878 GB, free: 1.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001768/0.1521, allocations: 69.59 kB / 0.5878 GB, free: 1.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1521, allocations: 8 kB / 0.5879 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1521, allocations: 0 / 0.5879 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1522, allocations: 0 / 0.5879 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.1522, allocations: 7.984 kB / 0.5879 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1523, allocations: 4 kB / 0.5879 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.1523, allocations: 12.02 kB / 0.5879 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1523, allocations: 0 / 0.5879 GB, free: 1.172 MB / 494.1 MB 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 6.419e-05/0.1524, allocations: 113.7 kB / 0.588 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1524, allocations: 4 kB / 0.588 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1527, allocations: 72.77 kB / 0.5881 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1527, allocations: 7.938 kB / 0.5881 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1527, allocations: 4 kB / 0.5881 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1527, allocations: 0 / 0.5881 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1528, allocations: 165.5 kB / 0.5882 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1528, allocations: 0 / 0.5882 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.1529, allocations: 11.98 kB / 0.5882 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1529, allocations: 0 / 0.5882 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.1529, allocations: 0 / 0.5882 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1529, allocations: 0 / 0.5882 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.153, allocations: 4 kB / 0.5882 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1532, allocations: 175.4 kB / 0.5884 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.1532, allocations: 77.11 kB / 0.5885 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1533, allocations: 0 / 0.5885 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.1533, allocations: 7.984 kB / 0.5885 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1534, allocations: 4 kB / 0.5885 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1534, allocations: 0 / 0.5885 GB, free: 448 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.1534, allocations: 83.28 kB / 0.5886 GB, free: 364 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1534, allocations: 4 kB / 0.5886 GB, free: 360 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.1536, allocations: 7.938 kB / 0.5886 GB, free: 352 kB / 494.1 MB 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.396e-05/0.1537, allocations: 99.23 kB / 0.5887 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1539, allocations: 39.91 kB / 0.5887 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.154, allocations: 0 / 0.5887 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.154, allocations: 24.03 kB / 0.5887 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1543, allocations: 16.66 kB / 0.5888 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.1546, allocations: 157.9 kB / 0.5889 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1548, allocations: 0.6809 MB / 0.5896 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.1549, allocations: 7.438 kB / 0.5896 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1549, allocations: 0 / 0.5896 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.00162/0.1565, allocations: 0.577 MB / 0.5901 GB, free: 14.69 MB / 0.4981 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)