Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 103 kB / 16.36 MB, free: 6.336 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.001193/0.001193, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.848/0.848, allocations: 132.2 MB / 423.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 80.19 MB / 0.5815 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002692/0.3594, allocations: 1.402 MB / 0.5829 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.3603, allocations: 0.5988 MB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.3604, allocations: 3.938 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.3604, allocations: 3.938 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.3605, allocations: 5.5 kB / 0.5835 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.3609, allocations: 101.3 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.3609, allocations: 22.69 kB / 0.5836 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.361, allocations: 7.547 kB / 0.5836 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.3611, allocations: 8.406 kB / 0.5836 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.3611, allocations: 15.61 kB / 0.5836 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3612, allocations: 3.844 kB / 0.5836 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.3614, allocations: 143 kB / 0.5837 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.3615, allocations: 7.844 kB / 0.5837 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.3615, allocations: 7.938 kB / 0.5838 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.3617, allocations: 103.9 kB / 0.5839 GB, free: 25.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3617, allocations: 0 / 0.5839 GB, free: 25.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3617, allocations: 0 / 0.5839 GB, free: 25.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3617, allocations: 0.75 kB / 0.5839 GB, free: 25.88 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.0004084/0.3621, allocations: 359.2 kB / 0.5842 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3622, allocations: 9.625 kB / 0.5842 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.3626, allocations: 39.17 kB / 0.5842 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.339e-05/0.3627, allocations: 169.9 kB / 0.5844 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3627, allocations: 1.844 kB / 0.5844 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3628, allocations: 1.688 kB / 0.5844 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.363, allocations: 68.7 kB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.363, allocations: 4.125 kB / 0.5845 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.363, allocations: 3.938 kB / 0.5845 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.363, allocations: 1.125 kB / 0.5845 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.3633, allocations: 54.03 kB / 0.5845 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.3637, allocations: 272.2 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3639, allocations: 63.09 kB / 0.5849 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.364, allocations: 35.98 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.3641, allocations: 1.469 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.3641, allocations: 31.75 kB / 0.5849 GB, free: 24.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3641, allocations: 0 / 0.5849 GB, free: 24.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004712/0.3646, allocations: 118.2 kB / 0.585 GB, free: 24.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.3646, allocations: 52.62 kB / 0.5851 GB, free: 24.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.716e-05/0.3647, allocations: 103.8 kB / 0.5852 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.3647, allocations: 27.05 kB / 0.5852 GB, free: 24.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.3647, allocations: 80.98 kB / 0.5853 GB, free: 24.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3647, allocations: 5.5 kB / 0.5853 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.3648, allocations: 20.92 kB / 0.5853 GB, free: 24.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.3648, allocations: 313.2 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.365, allocations: 35.41 kB / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3651, allocations: 22.66 kB / 0.5857 GB, free: 24.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.3653, allocations: 62.33 kB / 0.5857 GB, free: 24.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3653, allocations: 0 / 0.5857 GB, free: 24.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002679/0.3656, allocations: 91.67 kB / 0.5858 GB, free: 23.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3656, allocations: 5.906 kB / 0.5858 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3656, allocations: 0.6562 kB / 0.5858 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3656, allocations: 1.25 kB / 0.5858 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3658, allocations: 12.92 kB / 0.5858 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3658, allocations: 3.984 kB / 0.5858 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.3659, allocations: 14.28 kB / 0.5858 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3659, allocations: 5.078 kB / 0.5859 GB, free: 23.94 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 5.885e-05/0.3659, allocations: 113.2 kB / 0.586 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.366, allocations: 2.844 kB / 0.586 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.366, allocations: 8.531 kB / 0.586 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.366, allocations: 0 / 0.586 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.366, allocations: 5.312 kB / 0.586 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3661, allocations: 1.312 kB / 0.586 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.3662, allocations: 163.1 kB / 0.5861 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3662, allocations: 1.25 kB / 0.5861 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3663, allocations: 16.03 kB / 0.5861 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3663, allocations: 1.219 kB / 0.5862 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3663, allocations: 2.375 kB / 0.5862 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3663, allocations: 0 / 0.5862 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3663, allocations: 0 / 0.5862 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.3666, allocations: 192.5 kB / 0.5863 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.3667, allocations: 82.64 kB / 0.5864 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3667, allocations: 5 kB / 0.5864 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3668, allocations: 9.797 kB / 0.5864 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.3669, allocations: 8.719 kB / 0.5864 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3669, allocations: 1.219 kB / 0.5864 GB, free: 23.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.444e-05/0.3669, allocations: 81.86 kB / 0.5865 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3669, allocations: 0 / 0.5865 GB, free: 23.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.3671, allocations: 10.69 kB / 0.5865 GB, free: 23.24 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 (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 Backend phase and start with SimCode phase: time 0.0001317/0.3673, allocations: 110.4 kB / 0.5866 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.3676, allocations: 60.16 kB / 0.5867 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3676, allocations: 0.8438 kB / 0.5867 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.3677, allocations: 35.03 kB / 0.5867 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.368, allocations: 6.312 kB / 0.5867 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.3685, allocations: 138 kB / 0.5869 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.3686, allocations: 0.6786 MB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.3687, allocations: 8.375 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3687, allocations: 13.91 kB / 0.5875 GB, free: 22.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3687, allocations: 0 / 0.5875 GB, free: 22.26 MB / 446.1 MB Notification: Performance of Templates: time 0.003018/0.3717, allocations: 0.782 MB / 0.5883 GB, free: 21.88 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)