Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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-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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001654/0.001654, allocations: 189.7 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.368/1.368, 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-master/package.mo): time 0.7933/0.7933, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 70.44 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1461, allocations: 80.91 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002753/0.1489, allocations: 1.407 MB / 0.6667 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1499, allocations: 0.5851 MB / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.15, allocations: 4 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.15, allocations: 7.938 kB / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.1501, allocations: 3.938 kB / 0.6672 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.1505, allocations: 95.56 kB / 0.6673 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.1506, allocations: 27.86 kB / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.1507, allocations: 11.98 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.1508, allocations: 7.984 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.1508, allocations: 11.94 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1508, allocations: 8 kB / 0.6674 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.1511, allocations: 147.7 kB / 0.6675 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.1512, allocations: 7.969 kB / 0.6675 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.1512, allocations: 11.94 kB / 0.6676 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1514, allocations: 99.7 kB / 0.6676 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1515, allocations: 4 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1515, allocations: 0 / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.1515, allocations: 0 / 0.6677 GB, free: 3.371 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.0004824/0.152, allocations: 363.4 kB / 0.668 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.152, allocations: 13.11 kB / 0.668 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004548/0.1525, allocations: 28.81 kB / 0.668 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1526, allocations: 160.4 kB / 0.6682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1526, allocations: 384 / 0.6682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.1526, allocations: 8.375 kB / 0.6682 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1529, allocations: 74.14 kB / 0.6683 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.1529, allocations: 4.172 kB / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1529, allocations: 3.938 kB / 0.6683 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1529, allocations: 0 / 0.6683 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.1532, allocations: 51.94 kB / 0.6683 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.1537, allocations: 268.9 kB / 0.6686 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1539, allocations: 58.47 kB / 0.6686 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.154, allocations: 40.83 kB / 0.6687 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1541, allocations: 7.984 kB / 0.6687 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1541, allocations: 30.56 kB / 0.6687 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1541, allocations: 0 / 0.6687 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005139/0.1546, allocations: 117.7 kB / 0.6688 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1547, allocations: 51.41 kB / 0.6689 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.1548, allocations: 97.86 kB / 0.669 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1548, allocations: 25.7 kB / 0.669 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.1548, allocations: 88.03 kB / 0.6691 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.1549, allocations: 8 kB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.1549, allocations: 9.719 kB / 0.6691 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.155, allocations: 322.8 kB / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1552, allocations: 27.95 kB / 0.6694 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1553, allocations: 27.97 kB / 0.6695 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.1556, allocations: 60.86 kB / 0.6695 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1556, allocations: 4 kB / 0.6695 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003069/0.1559, allocations: 89.48 kB / 0.6696 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1559, allocations: 5.875 kB / 0.6696 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1559, allocations: 3.984 kB / 0.6696 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1559, allocations: 0 / 0.6696 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1561, allocations: 16.02 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1561, allocations: 0 / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.385e-05/0.1562, allocations: 11.98 kB / 0.6696 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1562, allocations: 3.938 kB / 0.6696 GB, free: 1.105 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 8.706e-05/0.1563, allocations: 113.8 kB / 0.6698 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.1563, allocations: 7.938 kB / 0.6698 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.1564, allocations: 7.125 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1564, allocations: 3.984 kB / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1564, allocations: 0 / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1564, allocations: 0 / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1566, allocations: 173.6 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1566, allocations: 0 / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1567, allocations: 11.98 kB / 0.6699 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1567, allocations: 0 / 0.6699 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1567, allocations: 3.984 kB / 0.67 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1568, allocations: 4 kB / 0.67 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1568, allocations: 0 / 0.67 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.1571, allocations: 179.4 kB / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.1572, allocations: 85.02 kB / 0.6702 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1572, allocations: 12.02 kB / 0.6702 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1573, allocations: 11.94 kB / 0.6702 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1574, allocations: 3.984 kB / 0.6702 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1574, allocations: 0 / 0.6702 GB, free: 412 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.1574, allocations: 79.28 kB / 0.6703 GB, free: 332 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1574, allocations: 0 / 0.6703 GB, free: 332 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002472/0.1577, allocations: 12 kB / 0.6703 GB, free: 320 kB / 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.0001729/0.1579, allocations: 120.5 kB / 0.6704 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.1582, allocations: 55.94 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1582, allocations: 0 / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1583, allocations: 32.02 kB / 0.6705 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1587, allocations: 15.94 kB / 0.6705 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.1591, allocations: 152.2 kB / 0.6707 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1594, allocations: 0.6768 MB / 0.6713 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.1594, allocations: 15.42 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1594, allocations: 0 / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.002473/0.1619, allocations: 0.9088 MB / 0.6722 GB, free: 14.28 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)