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.001155/0.001155, allocations: 112.3 kB / 15.99 MB, free: 5.914 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.001125/0.001125, allocations: 196 kB / 16.91 MB, free: 5.758 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.79/0.79, allocations: 135.1 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.88 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3612, allocations: 80.91 MB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002372/0.3637, allocations: 1.462 MB / 0.5859 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003908/0.3641, allocations: 198.5 kB / 0.5861 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.3641, allocations: 9.781 kB / 0.5861 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.3642, allocations: 3.984 kB / 0.5861 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.3642, allocations: 9.484 kB / 0.5861 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.3644, allocations: 14.45 kB / 0.5862 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.3645, allocations: 29.73 kB / 0.5862 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.3646, allocations: 9.016 kB / 0.5862 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.3646, allocations: 8.062 kB / 0.5862 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.3646, allocations: 14.61 kB / 0.5862 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3647, allocations: 2.781 kB / 0.5862 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.3648, allocations: 23.7 kB / 0.5862 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.3648, allocations: 4.609 kB / 0.5862 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.3648, allocations: 11.19 kB / 0.5863 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.03e-05/0.3649, allocations: 34.62 kB / 0.5863 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3649, allocations: 0 / 0.5863 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3649, allocations: 0 / 0.5863 GB, free: 23.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3649, allocations: 1.219 kB / 0.5863 GB, free: 23.81 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.0003565/0.3653, allocations: 343.7 kB / 0.5866 GB, free: 23.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3653, allocations: 10.58 kB / 0.5866 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3654, allocations: 3.938 kB / 0.5866 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.185e-05/0.3655, allocations: 164 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3655, allocations: 1.438 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.3656, allocations: 1.469 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3657, allocations: 49.77 kB / 0.5868 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3657, allocations: 4.688 kB / 0.5868 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3658, allocations: 3.938 kB / 0.5868 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3658, allocations: 3.25 kB / 0.5868 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.3659, allocations: 34.58 kB / 0.5869 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.3662, allocations: 249.3 kB / 0.5871 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3664, allocations: 49.66 kB / 0.5872 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.3664, allocations: 23.03 kB / 0.5872 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3665, allocations: 1.562 kB / 0.5872 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.3665, allocations: 39.8 kB / 0.5872 GB, free: 22.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3665, allocations: 0 / 0.5872 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.3668, allocations: 84.05 kB / 0.5873 GB, free: 22.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.3669, allocations: 52.28 kB / 0.5874 GB, free: 22.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.862e-05/0.3669, allocations: 102.9 kB / 0.5875 GB, free: 22.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.3669, allocations: 25.7 kB / 0.5875 GB, free: 22.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.367, allocations: 81.89 kB / 0.5876 GB, free: 22.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.367, allocations: 6.219 kB / 0.5876 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.367, allocations: 16 kB / 0.5876 GB, free: 22.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.3671, allocations: 318 kB / 0.5879 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.3671, allocations: 12.3 kB / 0.5879 GB, free: 22.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.3672, allocations: 25.95 kB / 0.5879 GB, free: 22.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3674, allocations: 41.59 kB / 0.588 GB, free: 22.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3674, allocations: 1.25 kB / 0.588 GB, free: 22.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001715/0.3676, allocations: 64.64 kB / 0.588 GB, free: 22.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3676, allocations: 7.781 kB / 0.588 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3676, allocations: 0.8438 kB / 0.588 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3676, allocations: 1.5 kB / 0.588 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.3677, allocations: 10.58 kB / 0.588 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3677, allocations: 3.984 kB / 0.588 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.3678, allocations: 8.391 kB / 0.5881 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3678, allocations: 2.531 kB / 0.5881 GB, free: 22.01 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.993e-05/0.3678, allocations: 124 kB / 0.5882 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3679, allocations: 5.25 kB / 0.5882 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.3681, allocations: 78.64 kB / 0.5883 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3681, allocations: 0 / 0.5883 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3681, allocations: 0.8438 kB / 0.5883 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3681, allocations: 0.9688 kB / 0.5883 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.3682, allocations: 158.4 kB / 0.5884 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3682, allocations: 5.766 kB / 0.5884 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.3683, allocations: 7.438 kB / 0.5884 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3683, allocations: 1.062 kB / 0.5884 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3683, allocations: 8.438 kB / 0.5884 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3683, allocations: 2.5 kB / 0.5884 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3684, allocations: 0 / 0.5884 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.3686, allocations: 176.2 kB / 0.5886 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.3686, allocations: 78.52 kB / 0.5887 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3686, allocations: 0 / 0.5887 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.3687, allocations: 12.11 kB / 0.5887 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.3687, allocations: 3.812 kB / 0.5887 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3687, allocations: 1.281 kB / 0.5887 GB, free: 21.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.947e-05/0.3688, allocations: 77.81 kB / 0.5888 GB, free: 21.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 0 / 0.5888 GB, free: 21.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.369, allocations: 5.156 kB / 0.5888 GB, free: 21.27 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 9.689e-05/0.3691, allocations: 104.1 kB / 0.5889 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.3693, allocations: 39.44 kB / 0.5889 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3693, allocations: 1.75 kB / 0.5889 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.3694, allocations: 25.52 kB / 0.5889 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.3697, allocations: 7.438 kB / 0.5889 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.37, allocations: 150.3 kB / 0.5891 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3701, allocations: 0.6781 MB / 0.5897 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3701, allocations: 12.47 kB / 0.5898 GB, free: 20.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3701, allocations: 2.094 kB / 0.5898 GB, free: 20.28 MB / 446.1 MB Notification: Performance of Templates: time 0.001697/0.3718, allocations: 0.587 MB / 0.5903 GB, free: 20.01 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)