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.001033/0.001033, allocations: 98.72 kB / 16.02 MB, free: 76 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.000877/0.000877, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9263/0.9263, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 82.32 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001498/0.1552, allocations: 1.124 MB / 0.5897 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004304/0.1557, allocations: 209.1 kB / 0.5899 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.1557, allocations: 0 / 0.5899 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1557, allocations: 0 / 0.5899 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.1558, allocations: 4 kB / 0.5899 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.156, allocations: 19.91 kB / 0.5899 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.156, allocations: 23.92 kB / 0.59 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.621e-05/0.1561, allocations: 4 kB / 0.59 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.1562, allocations: 7.984 kB / 0.59 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.1562, allocations: 19.92 kB / 0.59 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1562, allocations: 0 / 0.59 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.1563, allocations: 23.98 kB / 0.59 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1563, allocations: 3.984 kB / 0.59 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.1564, allocations: 37.64 kB / 0.59 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.498e-05/0.1564, allocations: 24.19 kB / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1564, allocations: 0 / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1565, allocations: 0 / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1565, allocations: 0 / 0.5901 GB, free: 1.109 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.0003824/0.1569, allocations: 355.4 kB / 0.5904 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1569, allocations: 8.031 kB / 0.5904 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.417e-05/0.157, allocations: 4.938 kB / 0.5904 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1571, allocations: 164.4 kB / 0.5906 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1571, allocations: 384 / 0.5906 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.1571, allocations: 4.375 kB / 0.5906 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1573, allocations: 58.23 kB / 0.5906 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.1573, allocations: 4.125 kB / 0.5906 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1573, allocations: 3.938 kB / 0.5906 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1574, allocations: 0 / 0.5906 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.1575, allocations: 43.91 kB / 0.5907 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.1578, allocations: 256.9 kB / 0.5909 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.158, allocations: 46.5 kB / 0.591 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1581, allocations: 28.91 kB / 0.591 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1581, allocations: 4 kB / 0.591 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1582, allocations: 30.56 kB / 0.591 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1582, allocations: 0 / 0.591 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003643/0.1585, allocations: 105.5 kB / 0.5911 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1586, allocations: 51.41 kB / 0.5912 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.1587, allocations: 101.8 kB / 0.5913 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1587, allocations: 25.7 kB / 0.5913 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.1587, allocations: 84.14 kB / 0.5914 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.1587, allocations: 3.906 kB / 0.5914 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1588, allocations: 13.84 kB / 0.5914 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1589, allocations: 322.8 kB / 0.5917 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.159, allocations: 15.98 kB / 0.5917 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.1591, allocations: 23.98 kB / 0.5918 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1592, allocations: 52.88 kB / 0.5918 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1592, allocations: 3.938 kB / 0.5918 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002139/0.1595, allocations: 77.61 kB / 0.5919 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1595, allocations: 4 kB / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1595, allocations: 7.984 kB / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1595, allocations: 0 / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.1596, allocations: 8 kB / 0.5919 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1596, allocations: 0 / 0.5919 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.1597, allocations: 12.02 kB / 0.5919 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1597, allocations: 4 kB / 0.5919 GB, free: 14.99 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 5.998e-05/0.1597, allocations: 109.8 kB / 0.592 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1598, allocations: 4.188 kB / 0.592 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.16, allocations: 100.7 kB / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1601, allocations: 0 / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1601, allocations: 0 / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1601, allocations: 3.938 kB / 0.5921 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1602, allocations: 165.5 kB / 0.5923 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1602, allocations: 4 kB / 0.5923 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.1603, allocations: 8 kB / 0.5923 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1603, allocations: 0 / 0.5923 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1603, allocations: 4 kB / 0.5923 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1603, allocations: 3.984 kB / 0.5923 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1604, allocations: 4 kB / 0.5923 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1606, allocations: 183.3 kB / 0.5925 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.1607, allocations: 81.11 kB / 0.5926 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1607, allocations: 4 kB / 0.5926 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1608, allocations: 7.984 kB / 0.5926 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1608, allocations: 4 kB / 0.5926 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1608, allocations: 0 / 0.5926 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.1608, allocations: 87.27 kB / 0.5927 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1609, allocations: 0 / 0.5927 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002158/0.1611, allocations: 8 kB / 0.5927 GB, free: 14.12 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 9.59e-05/0.1612, allocations: 95.25 kB / 0.5928 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1614, allocations: 43.97 kB / 0.5928 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1614, allocations: 0 / 0.5928 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.1615, allocations: 39.97 kB / 0.5928 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1618, allocations: 8.203 kB / 0.5928 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.1621, allocations: 158.3 kB / 0.593 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1623, allocations: 0.677 MB / 0.5937 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.1623, allocations: 11.44 kB / 0.5937 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1623, allocations: 4 kB / 0.5937 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.001636/0.164, allocations: 0.5742 MB / 0.5942 GB, free: 12.46 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)