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.001256/0.001256, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001192/0.001192, allocations: 188.3 kB / 17.2 MB, free: 5.617 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8295/0.8295, allocations: 135.2 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 72.09 kB / 0.506 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3557, allocations: 80.91 MB / 0.585 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00223/0.358, allocations: 1.405 MB / 0.5864 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004164/0.3584, allocations: 209 kB / 0.5866 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.3585, allocations: 2.031 kB / 0.5866 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.3585, allocations: 3.188 kB / 0.5866 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.3586, allocations: 5.188 kB / 0.5866 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.3588, allocations: 25.11 kB / 0.5867 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.3588, allocations: 18.12 kB / 0.5867 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.359, allocations: 14.55 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.359, allocations: 3.844 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.359, allocations: 20.06 kB / 0.5867 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3591, allocations: 1.906 kB / 0.5867 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.3591, allocations: 28.89 kB / 0.5867 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.3592, allocations: 5.25 kB / 0.5867 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.3592, allocations: 14.11 kB / 0.5868 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3593, allocations: 40.58 kB / 0.5868 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3593, allocations: 0 / 0.5868 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3593, allocations: 0 / 0.5868 GB, free: 23.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.3593, allocations: 1.281 kB / 0.5868 GB, free: 23.85 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.0003566/0.3597, allocations: 343.4 kB / 0.5871 GB, free: 23.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3597, allocations: 10.55 kB / 0.5871 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3599, allocations: 5.062 kB / 0.5871 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.3599, allocations: 165.4 kB / 0.5873 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.36, allocations: 1.562 kB / 0.5873 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.36, allocations: 2.281 kB / 0.5873 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3601, allocations: 50.8 kB / 0.5873 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3601, allocations: 5.578 kB / 0.5874 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3602, allocations: 7.922 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3602, allocations: 0 / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.3603, allocations: 37.62 kB / 0.5874 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.3606, allocations: 250.1 kB / 0.5876 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3607, allocations: 35.97 kB / 0.5877 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.3608, allocations: 23.09 kB / 0.5877 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.3608, allocations: 1.031 kB / 0.5877 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.3609, allocations: 31.97 kB / 0.5877 GB, free: 22.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3609, allocations: 5.062 kB / 0.5877 GB, free: 22.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003285/0.3612, allocations: 83.2 kB / 0.5878 GB, free: 22.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.3612, allocations: 51.41 kB / 0.5879 GB, free: 22.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.139e-05/0.3613, allocations: 104.8 kB / 0.588 GB, free: 22.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.3613, allocations: 25.7 kB / 0.588 GB, free: 22.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.3613, allocations: 85.55 kB / 0.5881 GB, free: 22.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.3613, allocations: 4.469 kB / 0.5881 GB, free: 22.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.3614, allocations: 17.97 kB / 0.5881 GB, free: 22.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.3614, allocations: 316.4 kB / 0.5884 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.3615, allocations: 17.11 kB / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.3616, allocations: 14.08 kB / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3617, allocations: 45.72 kB / 0.5885 GB, free: 22.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3617, allocations: 0 / 0.5885 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001739/0.3619, allocations: 66.95 kB / 0.5885 GB, free: 22.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3619, allocations: 7.031 kB / 0.5885 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.362, allocations: 3.984 kB / 0.5885 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.362, allocations: 1.156 kB / 0.5885 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.3621, allocations: 5.969 kB / 0.5885 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.3621, allocations: 1.438 kB / 0.5885 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.3621, allocations: 12.8 kB / 0.5886 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.3621, allocations: 4 kB / 0.5886 GB, free: 22.05 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.573e-05/0.3622, allocations: 113.2 kB / 0.5887 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.3622, allocations: 10.66 kB / 0.5887 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.3624, allocations: 80.3 kB / 0.5888 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3624, allocations: 2.031 kB / 0.5888 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3625, allocations: 0 / 0.5888 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3625, allocations: 0.5938 kB / 0.5888 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3626, allocations: 164.2 kB / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3626, allocations: 0.7812 kB / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.3626, allocations: 10.72 kB / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3627, allocations: 2.031 kB / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3627, allocations: 4.641 kB / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3627, allocations: 0 / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3627, allocations: 1.719 kB / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.3629, allocations: 171.3 kB / 0.5891 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.3629, allocations: 78.33 kB / 0.5892 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3629, allocations: 5.344 kB / 0.5892 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.363, allocations: 7.703 kB / 0.5892 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.363, allocations: 2.969 kB / 0.5892 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3631, allocations: 1.438 kB / 0.5892 GB, free: 21.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.98e-05/0.3631, allocations: 82.05 kB / 0.5893 GB, free: 21.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3631, allocations: 5.219 kB / 0.5893 GB, free: 21.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000208/0.3633, allocations: 8.75 kB / 0.5893 GB, free: 21.31 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 7.846e-05/0.3634, allocations: 102 kB / 0.5894 GB, free: 21.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.3636, allocations: 38.14 kB / 0.5894 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3636, allocations: 0 / 0.5894 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.3637, allocations: 26.58 kB / 0.5894 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3639, allocations: 6.531 kB / 0.5894 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.3642, allocations: 147.8 kB / 0.5896 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.3643, allocations: 0.6773 MB / 0.5902 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.3644, allocations: 8.719 kB / 0.5903 GB, free: 20.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3644, allocations: 2.281 kB / 0.5903 GB, free: 20.33 MB / 446.1 MB Notification: Performance of Templates: time 0.002021/0.3664, allocations: 0.5858 MB / 0.5908 GB, free: 20.05 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)