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.001166/0.001166, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001156/0.001156, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7943/0.7943, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.5067 GB, free: 7.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 80.91 MB / 0.5857 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002194/0.3422, allocations: 1.407 MB / 0.5871 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003651/0.3426, allocations: 209.1 kB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.3426, allocations: 0 / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.3427, allocations: 3.984 kB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.3427, allocations: 6.031 kB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.3429, allocations: 17.58 kB / 0.5873 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.408e-05/0.343, allocations: 31.12 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.3431, allocations: 3.719 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.3431, allocations: 11.48 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.26e-05/0.3432, allocations: 7.312 kB / 0.5874 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.3432, allocations: 3.812 kB / 0.5874 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.3433, allocations: 27.19 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.3433, allocations: 5.094 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.3433, allocations: 15.38 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.905e-05/0.3434, allocations: 37.39 kB / 0.5875 GB, free: 24.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3434, allocations: 6.656 kB / 0.5875 GB, free: 24.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3434, allocations: 0 / 0.5875 GB, free: 24.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3434, allocations: 3.984 kB / 0.5875 GB, free: 24.25 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.0003344/0.3438, allocations: 346.3 kB / 0.5878 GB, free: 23.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3438, allocations: 12.36 kB / 0.5878 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3439, allocations: 4.875 kB / 0.5878 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.318e-05/0.344, allocations: 161.7 kB / 0.588 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.344, allocations: 4.375 kB / 0.588 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.344, allocations: 5.781 kB / 0.588 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3442, allocations: 49.97 kB / 0.588 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3442, allocations: 1.938 kB / 0.5881 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3442, allocations: 7.938 kB / 0.5881 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3442, allocations: 2.531 kB / 0.5881 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.3444, allocations: 38.02 kB / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.3447, allocations: 247.5 kB / 0.5883 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3448, allocations: 43.81 kB / 0.5884 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.3449, allocations: 19.88 kB / 0.5884 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3449, allocations: 0.5625 kB / 0.5884 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3449, allocations: 32.25 kB / 0.5884 GB, free: 23.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3449, allocations: 1.781 kB / 0.5884 GB, free: 23.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003206/0.3453, allocations: 85.64 kB / 0.5885 GB, free: 23.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.3453, allocations: 52.81 kB / 0.5886 GB, free: 23.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.3454, allocations: 103.3 kB / 0.5887 GB, free: 23.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.3454, allocations: 30.92 kB / 0.5887 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.3454, allocations: 80.14 kB / 0.5888 GB, free: 22.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.3454, allocations: 11.25 kB / 0.5888 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.3455, allocations: 11.84 kB / 0.5888 GB, free: 22.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.3455, allocations: 316 kB / 0.5891 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.3456, allocations: 17.23 kB / 0.5891 GB, free: 22.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.3457, allocations: 15.55 kB / 0.5891 GB, free: 22.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3458, allocations: 40.45 kB / 0.5892 GB, free: 22.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3458, allocations: 0 / 0.5892 GB, free: 22.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001626/0.346, allocations: 70.44 kB / 0.5892 GB, free: 22.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.346, allocations: 4.938 kB / 0.5892 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.346, allocations: 1.562 kB / 0.5892 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.346, allocations: 1.281 kB / 0.5892 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.3461, allocations: 13.45 kB / 0.5892 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3461, allocations: 1.156 kB / 0.5892 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.3462, allocations: 13.7 kB / 0.5893 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.3462, allocations: 0 / 0.5893 GB, free: 22.46 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.414e-05/0.3462, allocations: 113 kB / 0.5894 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3463, allocations: 5.281 kB / 0.5894 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3465, allocations: 87.23 kB / 0.5895 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3465, allocations: 1.25 kB / 0.5895 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3465, allocations: 0 / 0.5895 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3465, allocations: 0 / 0.5895 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.3466, allocations: 162.7 kB / 0.5896 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3466, allocations: 1.125 kB / 0.5896 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.3467, allocations: 11.36 kB / 0.5896 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3467, allocations: 1.188 kB / 0.5896 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3467, allocations: 4.5 kB / 0.5896 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3467, allocations: 1.125 kB / 0.5896 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3468, allocations: 0.6562 kB / 0.5896 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.347, allocations: 175.5 kB / 0.5898 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.347, allocations: 80.14 kB / 0.5899 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.347, allocations: 5.281 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.3471, allocations: 7.406 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.3471, allocations: 5.203 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.3471, allocations: 2.469 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.272e-05/0.3472, allocations: 87.06 kB / 0.59 GB, free: 21.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3472, allocations: 0 / 0.59 GB, free: 21.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.3474, allocations: 5.312 kB / 0.59 GB, free: 21.71 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.157e-05/0.3475, allocations: 101.3 kB / 0.5901 GB, free: 21.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3477, allocations: 35.66 kB / 0.5901 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3477, allocations: 1.469 kB / 0.5901 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.3478, allocations: 28.88 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.348, allocations: 9 kB / 0.5901 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.3483, allocations: 116.6 kB / 0.5903 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.856e-05/0.3484, allocations: 0.6779 MB / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.433e-05/0.3484, allocations: 2.875 kB / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.3484, allocations: 13.38 kB / 0.5909 GB, free: 20.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3484, allocations: 0 / 0.5909 GB, free: 20.77 MB / 446.1 MB Notification: Performance of Templates: time 0.00226/0.3507, allocations: 492.6 kB / 0.5914 GB, free: 20.41 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)