Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.789/0.789, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 180.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 99.75 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001899/0.001899, allocations: 270.5 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 83.86 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3742, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002404/0.3766, allocations: 1.471 MB / 0.7694 GB, free: 26.17 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.3776, allocations: 0.5998 MB / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.3776, allocations: 0 / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.3777, allocations: 4 kB / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.3778, allocations: 7.922 kB / 0.7699 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3781, allocations: 75.72 kB / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.684e-05/0.3781, allocations: 35.84 kB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.846e-05/0.3782, allocations: 4 kB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.3783, allocations: 3.984 kB / 0.7701 GB, free: 25.44 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.72e-05/0.3783, allocations: 11.94 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3783, allocations: 8 kB / 0.7701 GB, free: 25.42 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.3786, allocations: 155.7 kB / 0.7702 GB, free: 25.27 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.3786, allocations: 0 / 0.7702 GB, free: 25.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.3786, allocations: 11.94 kB / 0.7702 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3788, allocations: 102.4 kB / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3788, allocations: 0 / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3788, allocations: 0 / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.3788, allocations: 0 / 0.7703 GB, free: 25.16 MB / 458.7 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.0003792/0.3792, allocations: 364.1 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3793, allocations: 8.031 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.3796, allocations: 28.91 kB / 0.7707 GB, free: 24.72 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3798, allocations: 168.4 kB / 0.7709 GB, free: 24.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3798, allocations: 384 / 0.7709 GB, free: 24.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3798, allocations: 384 / 0.7709 GB, free: 24.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.38, allocations: 74.08 kB / 0.771 GB, free: 24.44 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.38, allocations: 192 / 0.771 GB, free: 24.44 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3801, allocations: 3.938 kB / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3801, allocations: 4 kB / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.3803, allocations: 55.92 kB / 0.771 GB, free: 24.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.3807, allocations: 268.9 kB / 0.7713 GB, free: 24.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.3809, allocations: 66.41 kB / 0.7713 GB, free: 23.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3811, allocations: 32.89 kB / 0.7714 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3811, allocations: 4 kB / 0.7714 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.3811, allocations: 34.5 kB / 0.7714 GB, free: 23.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.3811, allocations: 0 / 0.7714 GB, free: 23.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004566/0.3816, allocations: 117.6 kB / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.3816, allocations: 51.41 kB / 0.7716 GB, free: 23.72 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.3817, allocations: 105.8 kB / 0.7717 GB, free: 23.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.3817, allocations: 29.64 kB / 0.7717 GB, free: 23.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.3817, allocations: 80.14 kB / 0.7718 GB, free: 23.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.3817, allocations: 7.891 kB / 0.7718 GB, free: 23.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.3818, allocations: 21.7 kB / 0.7718 GB, free: 23.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.3818, allocations: 314.9 kB / 0.7721 GB, free: 23.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3819, allocations: 27.97 kB / 0.7721 GB, free: 23.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3821, allocations: 23.97 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3823, allocations: 56.88 kB / 0.7722 GB, free: 23.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3823, allocations: 0 / 0.7722 GB, free: 23.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002618/0.3826, allocations: 89.56 kB / 0.7723 GB, free: 22.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3826, allocations: 4 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3826, allocations: 8 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3826, allocations: 4.031 kB / 0.7723 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3827, allocations: 19.92 kB / 0.7723 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3827, allocations: 0 / 0.7723 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.3828, allocations: 7.984 kB / 0.7723 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3828, allocations: 0 / 0.7723 GB, free: 22.89 MB / 458.7 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.764e-05/0.3829, allocations: 118.6 kB / 0.7724 GB, free: 22.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.3829, allocations: 0 / 0.7724 GB, free: 22.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.383, allocations: 11.12 kB / 0.7725 GB, free: 22.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.383, allocations: 4 kB / 0.7725 GB, free: 22.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.383, allocations: 0 / 0.7725 GB, free: 22.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.383, allocations: 0 / 0.7725 GB, free: 22.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.3831, allocations: 165.5 kB / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3831, allocations: 0 / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.3832, allocations: 19.91 kB / 0.7726 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3832, allocations: 4 kB / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3832, allocations: 0 / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3832, allocations: 4 kB / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3833, allocations: 0 / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.3838, allocations: 0.7668 MB / 0.7734 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.3838, allocations: 81.11 kB / 0.7735 GB, free: 21.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3838, allocations: 3.984 kB / 0.7735 GB, free: 21.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.384, allocations: 4 kB / 0.7735 GB, free: 21.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.384, allocations: 3.984 kB / 0.7735 GB, free: 21.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.384, allocations: 7.938 kB / 0.7735 GB, free: 21.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.018e-05/0.384, allocations: 79.28 kB / 0.7736 GB, free: 21.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.384, allocations: 4 kB / 0.7736 GB, free: 21.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.3844, allocations: 12 kB / 0.7736 GB, free: 21.48 MB / 458.7 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.0001365/0.3845, allocations: 115.2 kB / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.3848, allocations: 59.94 kB / 0.7737 GB, free: 21.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3848, allocations: 0 / 0.7737 GB, free: 21.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.3849, allocations: 31.95 kB / 0.7738 GB, free: 21.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.3852, allocations: 0 / 0.7738 GB, free: 21.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.3856, allocations: 243.1 kB / 0.774 GB, free: 20.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.973e-05/0.3857, allocations: 0.6731 MB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.447e-05/0.3858, allocations: 19.86 kB / 0.7747 GB, free: 20.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.3859, allocations: 11.44 kB / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3859, allocations: 0 / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of Templates: time 0.002422/0.3883, allocations: 0.7444 MB / 0.7754 GB, free: 19.53 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)