Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001294/0.001295, allocations: 99.34 kB / 16.35 MB, free: 5.828 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.001409/0.001409, allocations: 192.3 kB / 17.29 MB, free: 5.484 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7905/0.7905, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.344, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002594/0.3467, allocations: 1.404 MB / 0.5871 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000911/0.3476, allocations: 0.6066 MB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.3477, allocations: 0 / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.3477, allocations: 0 / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.3478, allocations: 6.75 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3481, allocations: 100.7 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.3482, allocations: 26.36 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.3483, allocations: 3.844 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.3483, allocations: 15.61 kB / 0.5879 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.3484, allocations: 4.562 kB / 0.5879 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3484, allocations: 2.656 kB / 0.5879 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.3486, allocations: 148.2 kB / 0.588 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.3486, allocations: 5.156 kB / 0.588 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.3487, allocations: 14.67 kB / 0.588 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3489, allocations: 98.06 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3489, allocations: 1.5 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3489, allocations: 0 / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3489, allocations: 0 / 0.5881 GB, free: 23.79 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.0003509/0.3492, allocations: 359 kB / 0.5885 GB, free: 23.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3493, allocations: 15.38 kB / 0.5885 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.3497, allocations: 26.22 kB / 0.5885 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.3498, allocations: 163 kB / 0.5887 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3498, allocations: 6.031 kB / 0.5887 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3498, allocations: 4.312 kB / 0.5887 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.35, allocations: 72.84 kB / 0.5887 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.35, allocations: 192 / 0.5887 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3501, allocations: 9.047 kB / 0.5887 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3501, allocations: 0.625 kB / 0.5887 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.3503, allocations: 52.72 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.3507, allocations: 278.1 kB / 0.5891 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.3509, allocations: 66.41 kB / 0.5891 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3511, allocations: 32.42 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3511, allocations: 0.6562 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.3511, allocations: 33.19 kB / 0.5892 GB, free: 22.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3511, allocations: 3.938 kB / 0.5892 GB, free: 22.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.00046/0.3516, allocations: 119.8 kB / 0.5893 GB, free: 22.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.3516, allocations: 51.41 kB / 0.5894 GB, free: 22.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.203e-05/0.3517, allocations: 94.77 kB / 0.5894 GB, free: 22.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3517, allocations: 29.7 kB / 0.5895 GB, free: 22.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.3517, allocations: 83.05 kB / 0.5896 GB, free: 22.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.3518, allocations: 12.98 kB / 0.5896 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.3518, allocations: 12.34 kB / 0.5896 GB, free: 22.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.3518, allocations: 321.7 kB / 0.5899 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.352, allocations: 23.08 kB / 0.5899 GB, free: 21.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.3521, allocations: 26.34 kB / 0.5899 GB, free: 21.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.3523, allocations: 59.58 kB / 0.59 GB, free: 21.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3523, allocations: 1.281 kB / 0.59 GB, free: 21.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002524/0.3526, allocations: 87.27 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3526, allocations: 5.219 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3526, allocations: 0 / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3526, allocations: 4.578 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3527, allocations: 17.64 kB / 0.5901 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3528, allocations: 0.5 kB / 0.5901 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.3528, allocations: 14.14 kB / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.3529, allocations: 1.031 kB / 0.5901 GB, free: 21.86 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.445e-05/0.3529, allocations: 113.6 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.353, allocations: 5.219 kB / 0.5902 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.353, allocations: 8.438 kB / 0.5902 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.353, allocations: 5.359 kB / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.353, allocations: 0.5625 kB / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.353, allocations: 1.406 kB / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3531, allocations: 167.9 kB / 0.5904 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3531, allocations: 0 / 0.5904 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3533, allocations: 14.33 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3533, allocations: 0 / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3533, allocations: 5.266 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3533, allocations: 0 / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3533, allocations: 2.062 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3536, allocations: 187 kB / 0.5906 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.3536, allocations: 85.05 kB / 0.5907 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3536, allocations: 3.984 kB / 0.5907 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3537, allocations: 5.406 kB / 0.5907 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.3538, allocations: 7.984 kB / 0.5907 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3538, allocations: 0 / 0.5907 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.189e-05/0.3538, allocations: 88.33 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3538, allocations: 0 / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3541, allocations: 13 kB / 0.5908 GB, free: 21.11 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.0001386/0.3542, allocations: 113.4 kB / 0.5909 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3545, allocations: 60.47 kB / 0.591 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3545, allocations: 0.9375 kB / 0.591 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.3546, allocations: 40.39 kB / 0.591 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3549, allocations: 12.5 kB / 0.591 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.3553, allocations: 130.6 kB / 0.5911 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.3554, allocations: 0.6779 MB / 0.5918 GB, free: 20.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.362e-05/0.3555, allocations: 12.92 kB / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.3555, allocations: 17.42 kB / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3555, allocations: 0 / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of Templates: time 0.00258/0.3581, allocations: 0.7583 MB / 0.5926 GB, free: 19.27 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)