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.001827/0.001826, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001915/0.001915, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.348/1.348, 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.8444/0.8444, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 63.89 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4332, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002367/0.4356, allocations: 1.41 MB / 0.5871 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003978/0.436, allocations: 201.8 kB / 0.5873 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.4361, allocations: 0 / 0.5873 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.4361, allocations: 7.922 kB / 0.5873 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.4362, allocations: 5.25 kB / 0.5873 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.4364, allocations: 21.64 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.786e-05/0.4365, allocations: 26.47 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.4366, allocations: 8.031 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.4367, allocations: 12.11 kB / 0.5874 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.4367, allocations: 8.594 kB / 0.5874 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.4367, allocations: 1.188 kB / 0.5874 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.4368, allocations: 28.31 kB / 0.5874 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.4368, allocations: 10.28 kB / 0.5874 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.4369, allocations: 2.219 kB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.437, allocations: 41.2 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.437, allocations: 1.281 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.437, allocations: 1.406 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.437, allocations: 3.938 kB / 0.5875 GB, free: 24.22 MB / 446.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.0003688/0.4374, allocations: 345.4 kB / 0.5878 GB, free: 23.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4374, allocations: 15 kB / 0.5878 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.4376, allocations: 3.719 kB / 0.5878 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.4376, allocations: 166.5 kB / 0.588 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4377, allocations: 384 / 0.588 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.4377, allocations: 3.469 kB / 0.588 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4378, allocations: 49.95 kB / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4379, allocations: 192 / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4379, allocations: 9.219 kB / 0.5881 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.4379, allocations: 1.094 kB / 0.5881 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.438, allocations: 35.77 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.4383, allocations: 247.6 kB / 0.5883 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4385, allocations: 46.64 kB / 0.5884 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.4385, allocations: 23.19 kB / 0.5884 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4386, allocations: 5.672 kB / 0.5884 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.4386, allocations: 31.44 kB / 0.5884 GB, free: 23.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4386, allocations: 0.5625 kB / 0.5884 GB, free: 23.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003173/0.4389, allocations: 86.92 kB / 0.5885 GB, free: 23.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.4389, allocations: 52.38 kB / 0.5886 GB, free: 23.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.851e-05/0.439, allocations: 99 kB / 0.5887 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.439, allocations: 32.23 kB / 0.5887 GB, free: 22.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.439, allocations: 81.58 kB / 0.5888 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.4391, allocations: 3.906 kB / 0.5888 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.4391, allocations: 13.66 kB / 0.5888 GB, free: 22.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.4392, allocations: 316.1 kB / 0.5891 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.4392, allocations: 17.91 kB / 0.5891 GB, free: 22.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.238e-05/0.4393, allocations: 17.83 kB / 0.5891 GB, free: 22.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.4394, allocations: 36.98 kB / 0.5892 GB, free: 22.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4394, allocations: 1.094 kB / 0.5892 GB, free: 22.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001629/0.4396, allocations: 73.41 kB / 0.5892 GB, free: 22.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4396, allocations: 7.875 kB / 0.5892 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.4396, allocations: 0 / 0.5892 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4397, allocations: 0 / 0.5892 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.4397, allocations: 10.55 kB / 0.5892 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4398, allocations: 0 / 0.5892 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.4398, allocations: 17.67 kB / 0.5893 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.4398, allocations: 1.469 kB / 0.5893 GB, free: 22.42 MB / 446.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 4.625e-05/0.4399, allocations: 115.1 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.4399, allocations: 5.156 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.4401, allocations: 79.08 kB / 0.5895 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4401, allocations: 3.938 kB / 0.5895 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4401, allocations: 5.25 kB / 0.5895 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4402, allocations: 0.75 kB / 0.5895 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.4403, allocations: 162.8 kB / 0.5896 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4403, allocations: 4.531 kB / 0.5896 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.4404, allocations: 13.77 kB / 0.5896 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4404, allocations: 0 / 0.5896 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4404, allocations: 1.469 kB / 0.5896 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4404, allocations: 0 / 0.5896 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4404, allocations: 0 / 0.5896 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.4406, allocations: 173.8 kB / 0.5898 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.4406, allocations: 78.45 kB / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4406, allocations: 0 / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.4407, allocations: 3.875 kB / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.4408, allocations: 10.23 kB / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.4408, allocations: 0 / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.965e-05/0.4408, allocations: 85.59 kB / 0.59 GB, free: 21.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4408, allocations: 0 / 0.59 GB, free: 21.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.441, allocations: 4.844 kB / 0.59 GB, free: 21.69 MB / 446.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 8.372e-05/0.4411, allocations: 97.61 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.4413, allocations: 43.08 kB / 0.5901 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4414, allocations: 2.312 kB / 0.5901 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.4414, allocations: 20.61 kB / 0.5901 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.4417, allocations: 14.91 kB / 0.5902 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.442, allocations: 121 kB / 0.5903 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.4421, allocations: 0.6768 MB / 0.5909 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.4422, allocations: 3 kB / 0.5909 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.4422, allocations: 8.719 kB / 0.5909 GB, free: 20.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4422, allocations: 2.969 kB / 0.5909 GB, free: 20.74 MB / 446.1 MB Notification: Performance of Templates: time 0.00246/0.4447, allocations: 497.3 kB / 0.5914 GB, free: 20.43 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)