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.0009491/0.0009491, allocations: 105.1 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.0009267/0.0009267, allocations: 191 kB / 17.34 MB, free: 5.762 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7609/0.7609, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 62.33 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1277, allocations: 80.92 MB / 0.6653 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002297/0.1301, allocations: 1.405 MB / 0.6667 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004171/0.1305, allocations: 203.5 kB / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.1306, allocations: 0 / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.1306, allocations: 0 / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.1306, allocations: 7.922 kB / 0.6669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.1309, allocations: 31.91 kB / 0.6669 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.1309, allocations: 19.88 kB / 0.6669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.131, allocations: 7.984 kB / 0.6669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.1311, allocations: 15.92 kB / 0.6669 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/0.1311, allocations: 11.98 kB / 0.6669 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1311, allocations: 0 / 0.6669 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-05/0.1312, allocations: 23.98 kB / 0.667 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.1312, allocations: 3.938 kB / 0.667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1312, allocations: 11.98 kB / 0.667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1314, allocations: 47.83 kB / 0.667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1314, allocations: 4 kB / 0.667 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.41e-07/0.1314, allocations: 0 / 0.667 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1314, allocations: 0 / 0.667 GB, free: 4.047 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.0003946/0.1318, allocations: 335.5 kB / 0.6673 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1318, allocations: 13.11 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1319, allocations: 4.844 kB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1321, allocations: 172.3 kB / 0.6675 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1321, allocations: 8.359 kB / 0.6675 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1321, allocations: 384 / 0.6675 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1323, allocations: 54.17 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1323, allocations: 4.125 kB / 0.6676 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1323, allocations: 3.938 kB / 0.6676 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1323, allocations: 0 / 0.6676 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1325, allocations: 31.97 kB / 0.6676 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.1328, allocations: 249 kB / 0.6679 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1329, allocations: 38.5 kB / 0.6679 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.133, allocations: 24.91 kB / 0.6679 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.133, allocations: 0 / 0.6679 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.133, allocations: 34.5 kB / 0.668 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1331, allocations: 4 kB / 0.668 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003163/0.1334, allocations: 85.58 kB / 0.668 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1334, allocations: 51.41 kB / 0.6681 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.1335, allocations: 97.84 kB / 0.6682 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1335, allocations: 29.7 kB / 0.6682 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1336, allocations: 84.27 kB / 0.6683 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.1336, allocations: 7.906 kB / 0.6683 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1336, allocations: 17.7 kB / 0.6683 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.1337, allocations: 314.8 kB / 0.6686 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.1338, allocations: 15.98 kB / 0.6686 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1339, allocations: 23.92 kB / 0.6687 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.134, allocations: 40.88 kB / 0.6687 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.134, allocations: 0 / 0.6687 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001722/0.1342, allocations: 69.52 kB / 0.6688 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1342, allocations: 10.02 kB / 0.6688 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1342, allocations: 0 / 0.6688 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1342, allocations: 4 kB / 0.6688 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.1343, allocations: 4 kB / 0.6688 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1343, allocations: 4.031 kB / 0.6688 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1344, allocations: 7.984 kB / 0.6688 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1344, allocations: 0 / 0.6688 GB, free: 2.016 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 6.562e-05/0.1345, allocations: 123 kB / 0.6689 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1345, allocations: 0 / 0.6689 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1347, allocations: 76.77 kB / 0.669 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1347, allocations: 4 kB / 0.669 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1348, allocations: 0 / 0.669 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1348, allocations: 3.938 kB / 0.669 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1349, allocations: 165.6 kB / 0.6691 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1349, allocations: 0 / 0.6691 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.135, allocations: 8.234 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.135, allocations: 3.984 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.135, allocations: 0 / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.135, allocations: 0 / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.135, allocations: 0 / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1352, allocations: 179.4 kB / 0.6693 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.1353, allocations: 81.02 kB / 0.6694 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1353, allocations: 0 / 0.6694 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.1354, allocations: 7.984 kB / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.1354, allocations: 0 / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1354, allocations: 8 kB / 0.6694 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.1355, allocations: 83.27 kB / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1355, allocations: 0 / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002063/0.1357, allocations: 8 kB / 0.6695 GB, free: 1.176 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 8.856e-05/0.1358, allocations: 99.19 kB / 0.6696 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.136, allocations: 39.89 kB / 0.6696 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.136, allocations: 0 / 0.6696 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.1361, allocations: 28.05 kB / 0.6697 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1363, allocations: 3.938 kB / 0.6697 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.1366, allocations: 144.2 kB / 0.6698 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.1368, allocations: 0.6807 MB / 0.6705 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.1368, allocations: 7.438 kB / 0.6705 GB, free: 112 kB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1368, allocations: 0 / 0.6705 GB, free: 112 kB / 0.4981 GB Notification: Performance of Templates: time 0.001621/0.1385, allocations: 0.6005 MB / 0.6711 GB, free: 15.51 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)