Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001521/0.001521, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.389/1.389, 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.7838/0.7838, allocations: 132.2 MB / 423.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 67.89 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4452, allocations: 80.18 MB / 0.5815 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002424/0.4477, allocations: 1.407 MB / 0.5829 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004215/0.4481, allocations: 210.5 kB / 0.5831 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.4481, allocations: 0 / 0.5831 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.4482, allocations: 3.281 kB / 0.5831 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.4482, allocations: 3.938 kB / 0.5831 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.4485, allocations: 29.27 kB / 0.5831 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.4485, allocations: 17.78 kB / 0.5831 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.4487, allocations: 11.89 kB / 0.5831 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.4487, allocations: 8.656 kB / 0.5831 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.4488, allocations: 12.89 kB / 0.5831 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4488, allocations: 1.156 kB / 0.5832 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.4489, allocations: 24.58 kB / 0.5832 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.4489, allocations: 4.781 kB / 0.5832 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.4489, allocations: 19.38 kB / 0.5832 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.449, allocations: 38.53 kB / 0.5832 GB, free: 26.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4491, allocations: 0 / 0.5832 GB, free: 26.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4491, allocations: 0 / 0.5832 GB, free: 26.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.4491, allocations: 0.8125 kB / 0.5832 GB, free: 26.46 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.0003678/0.4494, allocations: 345.5 kB / 0.5836 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4495, allocations: 9.25 kB / 0.5836 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.4496, allocations: 6.844 kB / 0.5836 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.4497, allocations: 169.4 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4497, allocations: 1.219 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.4497, allocations: 1.469 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.4499, allocations: 49.27 kB / 0.5838 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4499, allocations: 1.719 kB / 0.5838 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4499, allocations: 5.344 kB / 0.5838 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4499, allocations: 3.938 kB / 0.5838 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.4501, allocations: 37.53 kB / 0.5838 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.4504, allocations: 244.7 kB / 0.5841 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.4505, allocations: 39.81 kB / 0.5841 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.4506, allocations: 24.44 kB / 0.5841 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.4506, allocations: 0 / 0.5841 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.4506, allocations: 37.42 kB / 0.5842 GB, free: 25.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4506, allocations: 0 / 0.5842 GB, free: 25.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003195/0.451, allocations: 85.91 kB / 0.5842 GB, free: 25.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.451, allocations: 56.73 kB / 0.5843 GB, free: 25.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.4511, allocations: 96.17 kB / 0.5844 GB, free: 25.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.4511, allocations: 25.7 kB / 0.5844 GB, free: 25.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.4511, allocations: 86.7 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.4511, allocations: 9.234 kB / 0.5845 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.4512, allocations: 16.48 kB / 0.5845 GB, free: 25.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.4512, allocations: 316.1 kB / 0.5848 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.4513, allocations: 13.64 kB / 0.5848 GB, free: 24.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.4514, allocations: 18.86 kB / 0.5849 GB, free: 24.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4515, allocations: 44.91 kB / 0.5849 GB, free: 24.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4515, allocations: 5.406 kB / 0.5849 GB, free: 24.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001753/0.4517, allocations: 69.28 kB / 0.585 GB, free: 24.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4517, allocations: 5.594 kB / 0.585 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4517, allocations: 0 / 0.585 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4517, allocations: 1.312 kB / 0.585 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.4518, allocations: 5.5 kB / 0.585 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4518, allocations: 5.828 kB / 0.585 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.4519, allocations: 4.312 kB / 0.585 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.4519, allocations: 1.156 kB / 0.585 GB, free: 24.66 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.219e-05/0.452, allocations: 120 kB / 0.5851 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.452, allocations: 5.469 kB / 0.5851 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.4522, allocations: 87.78 kB / 0.5852 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.4522, allocations: 1.062 kB / 0.5852 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4523, allocations: 0 / 0.5852 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4523, allocations: 0.9062 kB / 0.5852 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.4524, allocations: 162.5 kB / 0.5854 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4524, allocations: 0 / 0.5854 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.4525, allocations: 16.92 kB / 0.5854 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4525, allocations: 0 / 0.5854 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4525, allocations: 4.906 kB / 0.5854 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4525, allocations: 0 / 0.5854 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4525, allocations: 0 / 0.5854 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.4527, allocations: 169.4 kB / 0.5855 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.4528, allocations: 78.77 kB / 0.5856 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4528, allocations: 0 / 0.5856 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.4529, allocations: 9.141 kB / 0.5856 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.4529, allocations: 5.812 kB / 0.5856 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.4529, allocations: 2.375 kB / 0.5856 GB, free: 24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.655e-05/0.4529, allocations: 82.05 kB / 0.5857 GB, free: 23.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4529, allocations: 1.344 kB / 0.5857 GB, free: 23.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.4532, allocations: 4.875 kB / 0.5857 GB, free: 23.92 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 (3): * Single equations (assignments): 3 * 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.0001002/0.4533, allocations: 99.44 kB / 0.5858 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.4535, allocations: 39.95 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4535, allocations: 4 kB / 0.5859 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.4536, allocations: 23.3 kB / 0.5859 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4539, allocations: 9.25 kB / 0.5859 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.4543, allocations: 116.6 kB / 0.586 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.4544, allocations: 0.6782 MB / 0.5867 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.4545, allocations: 2.625 kB / 0.5867 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.4545, allocations: 9.562 kB / 0.5867 GB, free: 22.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4545, allocations: 0.9062 kB / 0.5867 GB, free: 22.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002894/0.4574, allocations: 0.4899 MB / 0.5871 GB, free: 22.74 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)