Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001241/0.001241, allocations: 189.1 kB / 17.3 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7728/0.7728, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 75.88 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.369, allocations: 80.9 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002105/0.3712, allocations: 1.277 MB / 0.587 GB, free: 24.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.3719, allocations: 0.583 MB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.3719, allocations: 0 / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.372, allocations: 0.5 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.372, allocations: 6.688 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.3724, allocations: 96.56 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.3724, allocations: 21.36 kB / 0.5877 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.3725, allocations: 5.969 kB / 0.5877 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.3725, allocations: 11.98 kB / 0.5877 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.3726, allocations: 4.562 kB / 0.5877 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.3726, allocations: 0 / 0.5877 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.3728, allocations: 142.7 kB / 0.5879 GB, free: 24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.3728, allocations: 1.188 kB / 0.5879 GB, free: 24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.3729, allocations: 7.969 kB / 0.5879 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.373, allocations: 94.83 kB / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.373, allocations: 4.125 kB / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.373, allocations: 0 / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.3731, allocations: 0 / 0.588 GB, free: 23.95 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000274/0.3733, allocations: 343.5 kB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3734, allocations: 15 kB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.3738, allocations: 24.38 kB / 0.5883 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.3739, allocations: 170 kB / 0.5885 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3739, allocations: 2.156 kB / 0.5885 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.3739, allocations: 1.688 kB / 0.5885 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.374, allocations: 52.34 kB / 0.5885 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.3741, allocations: 192 / 0.5885 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3741, allocations: 3.938 kB / 0.5886 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3741, allocations: 1.375 kB / 0.5886 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3742, allocations: 25.12 kB / 0.5886 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.3743, allocations: 153.7 kB / 0.5887 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3744, allocations: 42.5 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.3745, allocations: 20.38 kB / 0.5888 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3745, allocations: 2 kB / 0.5888 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3745, allocations: 36.56 kB / 0.5888 GB, free: 23.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3745, allocations: 0.625 kB / 0.5888 GB, free: 23.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002523/0.3748, allocations: 74.78 kB / 0.5889 GB, free: 22.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.3748, allocations: 51.41 kB / 0.5889 GB, free: 22.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.328e-05/0.3749, allocations: 101.5 kB / 0.589 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.3749, allocations: 31.95 kB / 0.5891 GB, free: 22.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.344e-05/0.3749, allocations: 81.17 kB / 0.5891 GB, free: 22.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3749, allocations: 5.125 kB / 0.5892 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.375, allocations: 21.52 kB / 0.5892 GB, free: 22.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.375, allocations: 316.6 kB / 0.5895 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.3751, allocations: 10.11 kB / 0.5895 GB, free: 22.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.3751, allocations: 16.45 kB / 0.5895 GB, free: 22.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3752, allocations: 27.44 kB / 0.5895 GB, free: 22.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3753, allocations: 2.25 kB / 0.5895 GB, free: 22.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000147/0.3754, allocations: 62.52 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3754, allocations: 5.094 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3754, allocations: 6 kB / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3755, allocations: 192 / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.3756, allocations: 14.73 kB / 0.5896 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3756, allocations: 4 kB / 0.5896 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.3756, allocations: 2.969 kB / 0.5896 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3756, allocations: 5.703 kB / 0.5896 GB, free: 22.23 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.41e-05/0.3757, allocations: 107.4 kB / 0.5897 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.3757, allocations: 5.578 kB / 0.5897 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.3757, allocations: 16.62 kB / 0.5897 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3758, allocations: 0 / 0.5897 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3758, allocations: 0 / 0.5897 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3758, allocations: 1.344 kB / 0.5897 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.268e-05/0.3758, allocations: 157.9 kB / 0.5899 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3758, allocations: 0 / 0.5899 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.345e-05/0.3759, allocations: 8.109 kB / 0.5899 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3759, allocations: 1.656 kB / 0.5899 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3759, allocations: 9.016 kB / 0.5899 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3759, allocations: 3.984 kB / 0.5899 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.376, allocations: 1.375 kB / 0.5899 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.3761, allocations: 86.7 kB / 0.59 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.3762, allocations: 82.19 kB / 0.5901 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3762, allocations: 4.969 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.3763, allocations: 3.688 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.3763, allocations: 1.062 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3763, allocations: 5.078 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.786e-05/0.3763, allocations: 77.66 kB / 0.5902 GB, free: 21.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3763, allocations: 4.969 kB / 0.5902 GB, free: 21.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.3765, allocations: 15.66 kB / 0.5902 GB, free: 21.62 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.0001402/0.3767, allocations: 121.2 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.3769, allocations: 29.19 kB / 0.5903 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3769, allocations: 0 / 0.5903 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.3769, allocations: 23.05 kB / 0.5904 GB, free: 21.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.3771, allocations: 5.656 kB / 0.5904 GB, free: 21.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.3774, allocations: 113.7 kB / 0.5905 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.084e-05/0.3775, allocations: 0.673 MB / 0.5911 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.3776, allocations: 12.17 kB / 0.5911 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.3776, allocations: 10.12 kB / 0.5911 GB, free: 20.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3776, allocations: 0 / 0.5911 GB, free: 20.67 MB / 446.1 MB Notification: Performance of Templates: time 0.002531/0.3802, allocations: 0.7378 MB / 0.5919 GB, free: 19.99 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)