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.001011/0.001011, allocations: 105 kB / 15.98 MB, free: 6.359 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.001037/0.001037, allocations: 196.8 kB / 16.91 MB, free: 6.191 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.289/1.289, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.2 MB / 422.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 0.5019 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3434, allocations: 80.18 MB / 0.5802 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00233/0.3458, allocations: 1.464 MB / 0.5816 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.3466, allocations: 0.5975 MB / 0.5822 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.3466, allocations: 0 / 0.5822 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.3467, allocations: 2.219 kB / 0.5822 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.3467, allocations: 7.922 kB / 0.5822 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.3471, allocations: 90.39 kB / 0.5823 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.3472, allocations: 27.3 kB / 0.5823 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.3472, allocations: 2.281 kB / 0.5823 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.3473, allocations: 8.625 kB / 0.5824 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.3473, allocations: 13.02 kB / 0.5824 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3474, allocations: 6.609 kB / 0.5824 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.3476, allocations: 150.2 kB / 0.5825 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.3476, allocations: 4.781 kB / 0.5825 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.3476, allocations: 10.58 kB / 0.5825 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3478, allocations: 69.42 kB / 0.5826 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3478, allocations: 2.344 kB / 0.5826 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3478, allocations: 0 / 0.5826 GB, free: 25.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3478, allocations: 0.625 kB / 0.5826 GB, free: 25.65 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.0004245/0.3483, allocations: 368.9 kB / 0.5829 GB, free: 25.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3483, allocations: 10.06 kB / 0.583 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004487/0.3488, allocations: 25.88 kB / 0.583 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.3489, allocations: 169.6 kB / 0.5831 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3489, allocations: 2.219 kB / 0.5831 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3489, allocations: 5.438 kB / 0.5832 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3491, allocations: 64.45 kB / 0.5832 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3491, allocations: 5.391 kB / 0.5832 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3492, allocations: 3.938 kB / 0.5832 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3492, allocations: 1.344 kB / 0.5832 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.3494, allocations: 60.58 kB / 0.5833 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.3498, allocations: 273.8 kB / 0.5835 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.35, allocations: 62.75 kB / 0.5836 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.3502, allocations: 33.92 kB / 0.5836 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3502, allocations: 0 / 0.5836 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3502, allocations: 31.91 kB / 0.5837 GB, free: 24.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3502, allocations: 4.969 kB / 0.5837 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004807/0.3507, allocations: 121.4 kB / 0.5838 GB, free: 24.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.3508, allocations: 52.12 kB / 0.5838 GB, free: 24.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.282e-05/0.3508, allocations: 96.17 kB / 0.5839 GB, free: 24.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3508, allocations: 25.7 kB / 0.584 GB, free: 24.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.3509, allocations: 89.38 kB / 0.584 GB, free: 24.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.3509, allocations: 5.906 kB / 0.584 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.3509, allocations: 12.28 kB / 0.5841 GB, free: 24.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.351, allocations: 321.4 kB / 0.5844 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3511, allocations: 22.48 kB / 0.5844 GB, free: 23.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3512, allocations: 27.5 kB / 0.5844 GB, free: 23.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3515, allocations: 62.39 kB / 0.5845 GB, free: 23.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3515, allocations: 0.6875 kB / 0.5845 GB, free: 23.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002757/0.3518, allocations: 94.33 kB / 0.5846 GB, free: 23.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3518, allocations: 5.906 kB / 0.5846 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3518, allocations: 7.984 kB / 0.5846 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3518, allocations: 0 / 0.5846 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.352, allocations: 11.92 kB / 0.5846 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.352, allocations: 1.406 kB / 0.5846 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3521, allocations: 13.05 kB / 0.5846 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.3521, allocations: 1.812 kB / 0.5846 GB, free: 23.71 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.6e-05/0.3522, allocations: 116.7 kB / 0.5847 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3522, allocations: 1.406 kB / 0.5847 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.3522, allocations: 5.625 kB / 0.5847 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3522, allocations: 3.984 kB / 0.5847 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3523, allocations: 1.125 kB / 0.5847 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3523, allocations: 6.469 kB / 0.5847 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.3524, allocations: 168.1 kB / 0.5849 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3524, allocations: 0 / 0.5849 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3525, allocations: 11.64 kB / 0.5849 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3525, allocations: 1.375 kB / 0.5849 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3525, allocations: 3.984 kB / 0.5849 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3525, allocations: 2 kB / 0.5849 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3526, allocations: 0.6562 kB / 0.5849 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.3529, allocations: 185.4 kB / 0.5851 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.3529, allocations: 81.05 kB / 0.5852 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3529, allocations: 5.203 kB / 0.5852 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.353, allocations: 5.188 kB / 0.5852 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3531, allocations: 6.203 kB / 0.5852 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3531, allocations: 1.062 kB / 0.5852 GB, free: 23.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.175e-05/0.3531, allocations: 84.91 kB / 0.5853 GB, free: 23.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3531, allocations: 0 / 0.5853 GB, free: 23.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.3534, allocations: 10.5 kB / 0.5853 GB, free: 23.02 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.0001522/0.3535, allocations: 119 kB / 0.5854 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.3538, allocations: 56.81 kB / 0.5854 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3538, allocations: 0 / 0.5854 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.354, allocations: 34.08 kB / 0.5855 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3543, allocations: 16.22 kB / 0.5855 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.3547, allocations: 164.4 kB / 0.5856 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.3548, allocations: 0.6763 MB / 0.5863 GB, free: 22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.3548, allocations: 18.95 kB / 0.5863 GB, free: 21.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3549, allocations: 0 / 0.5863 GB, free: 21.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002184/0.357, allocations: 0.8952 MB / 0.5872 GB, free: 21.57 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)