Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008256/0.0008256, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009732/0.0009731, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6601/0.6601, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002592, allocations: 12 kB / 0.5034 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3289, allocations: 81.57 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001068/0.33, allocations: 1.001 MB / 0.5841 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006845/0.3307, allocations: 0.5448 MB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.3308, allocations: 0 / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.3308, allocations: 2.141 kB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.3308, allocations: 5.297 kB / 0.5846 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.3312, allocations: 82.91 kB / 0.5847 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.296e-05/0.3312, allocations: 21.22 kB / 0.5847 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.3313, allocations: 1.219 kB / 0.5847 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.3313, allocations: 4.797 kB / 0.5847 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.3313, allocations: 9.797 kB / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-06/0.3314, allocations: 0 / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.3316, allocations: 148.6 kB / 0.5849 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.3316, allocations: 0.75 kB / 0.5849 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.3317, allocations: 28.39 kB / 0.5849 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.3318, allocations: 61.97 kB / 0.5849 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3318, allocations: 5.281 kB / 0.5849 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3318, allocations: 4 kB / 0.5849 GB, free: 2.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.3318, allocations: 0 / 0.5849 GB, free: 2.742 MB / 430.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.0002589/0.3321, allocations: 345.8 kB / 0.5853 GB, free: 2.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.3321, allocations: 9.094 kB / 0.5853 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.3325, allocations: 30.03 kB / 0.5853 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.836e-05/0.3325, allocations: 165.3 kB / 0.5855 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.3326, allocations: 5.281 kB / 0.5855 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3326, allocations: 0.9375 kB / 0.5855 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3327, allocations: 56.2 kB / 0.5855 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.3327, allocations: 0 / 0.5855 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3327, allocations: 0 / 0.5855 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3327, allocations: 1.156 kB / 0.5855 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3328, allocations: 30.41 kB / 0.5856 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.333, allocations: 157.8 kB / 0.5857 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3331, allocations: 38.88 kB / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.3331, allocations: 18.91 kB / 0.5858 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3332, allocations: 1.516 kB / 0.5858 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.3332, allocations: 39.44 kB / 0.5858 GB, free: 1.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3332, allocations: 0 / 0.5858 GB, free: 1.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002477/0.3334, allocations: 68.67 kB / 0.5859 GB, free: 1.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.3335, allocations: 52.28 kB / 0.5859 GB, free: 1.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.172e-05/0.3335, allocations: 103.3 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.3335, allocations: 30.36 kB / 0.5861 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.124e-05/0.3335, allocations: 81.05 kB / 0.5861 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3336, allocations: 9.547 kB / 0.5861 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.3336, allocations: 0 / 0.5861 GB, free: 1.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.221e-05/0.3336, allocations: 312.7 kB / 0.5864 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.3337, allocations: 13.84 kB / 0.5864 GB, free: 1.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.3337, allocations: 17.12 kB / 0.5865 GB, free: 1.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.2e-05/0.3338, allocations: 18 kB / 0.5865 GB, free: 1.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3338, allocations: 0 / 0.5865 GB, free: 1.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001347/0.3339, allocations: 59.95 kB / 0.5865 GB, free: 1.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3339, allocations: 7.984 kB / 0.5865 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3339, allocations: 0 / 0.5865 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.334, allocations: 1.094 kB / 0.5865 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.3341, allocations: 12.28 kB / 0.5866 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.3341, allocations: 0 / 0.5866 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.3341, allocations: 2.828 kB / 0.5866 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3341, allocations: 6.125 kB / 0.5866 GB, free: 1.121 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.3342, allocations: 110.1 kB / 0.5867 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.3342, allocations: 5.156 kB / 0.5867 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.3342, allocations: 13.03 kB / 0.5867 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3342, allocations: 1.25 kB / 0.5867 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.3342, allocations: 0 / 0.5867 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3342, allocations: 0.6094 kB / 0.5867 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.132e-05/0.3343, allocations: 158 kB / 0.5868 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3343, allocations: 5.953 kB / 0.5868 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.3344, allocations: 11.31 kB / 0.5869 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3344, allocations: 0.9375 kB / 0.5869 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3344, allocations: 2.312 kB / 0.5869 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3344, allocations: 0 / 0.5869 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3344, allocations: 5.031 kB / 0.5869 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.3346, allocations: 84.83 kB / 0.5869 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.3346, allocations: 85.08 kB / 0.587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.3346, allocations: 1.906 kB / 0.587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.3347, allocations: 2.297 kB / 0.587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.3347, allocations: 6.016 kB / 0.587 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.3347, allocations: 2.203 kB / 0.587 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.59e-05/0.3347, allocations: 78.95 kB / 0.5871 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3347, allocations: 0 / 0.5871 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000189/0.3349, allocations: 12.48 kB / 0.5871 GB, free: 0.5352 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.3351, allocations: 116.4 kB / 0.5872 GB, free: 448 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.3352, allocations: 42.27 kB / 0.5873 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3352, allocations: 0 / 0.5873 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/0.3353, allocations: 14.2 kB / 0.5873 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.3355, allocations: 16.09 kB / 0.5873 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.3357, allocations: 120.7 kB / 0.5874 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.3359, allocations: 0.6735 MB / 0.5881 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.45e-05/0.336, allocations: 12.25 kB / 0.5881 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.336, allocations: 15.11 kB / 0.5881 GB, free: 15.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.336, allocations: 0 / 0.5881 GB, free: 15.59 MB / 446.1 MB Notification: Performance of Templates: time 0.00242/0.3384, allocations: 0.687 MB / 0.5888 GB, free: 15.52 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)