Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001114/0.001115, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001116/0.001116, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 292.3 MB / 0.5495 GB, free: 17.42 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.89 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1813, allocations: 114.5 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002239/0.1835, allocations: 1.402 MB / 0.7854 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.1839, allocations: 208.3 kB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.184, allocations: 0 / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.184, allocations: 3.938 kB / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.841e-05/0.184, allocations: 7.938 kB / 0.7856 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.1842, allocations: 27.89 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.465e-05/0.1842, allocations: 15.94 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.446e-05/0.1843, allocations: 11.98 kB / 0.7857 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.1843, allocations: 4 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.1844, allocations: 19.91 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.1844, allocations: 0 / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.1845, allocations: 23.98 kB / 0.7857 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.1845, allocations: 4 kB / 0.7857 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.1845, allocations: 15.92 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.193e-05/0.1846, allocations: 48.11 kB / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1846, allocations: 0 / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1846, allocations: 3.938 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1846, allocations: 0 / 0.7858 GB, free: 2.012 MB / 0.6544 GB 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.0003352/0.185, allocations: 339.5 kB / 0.7861 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.447e-05/0.185, allocations: 8.031 kB / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.1851, allocations: 4.938 kB / 0.7861 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.43e-05/0.1852, allocations: 164.3 kB / 0.7863 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1852, allocations: 8.359 kB / 0.7863 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.1852, allocations: 384 / 0.7863 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1853, allocations: 54.17 kB / 0.7864 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1854, allocations: 4.172 kB / 0.7864 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1854, allocations: 3.938 kB / 0.7864 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1854, allocations: 4 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1855, allocations: 27.97 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.1858, allocations: 249 kB / 0.7866 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1859, allocations: 42.5 kB / 0.7867 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.186, allocations: 24.84 kB / 0.7867 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.186, allocations: 0 / 0.7867 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.186, allocations: 34.56 kB / 0.7867 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.186, allocations: 0 / 0.7867 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002726/0.1863, allocations: 85.55 kB / 0.7868 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1863, allocations: 51.41 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.1864, allocations: 113.7 kB / 0.787 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1864, allocations: 25.7 kB / 0.787 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.1865, allocations: 84.27 kB / 0.7871 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.1865, allocations: 3.906 kB / 0.7871 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.1865, allocations: 17.72 kB / 0.7871 GB, free: 492 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.1866, allocations: 314.8 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.597e-05/0.1867, allocations: 11.98 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.188e-05/0.1868, allocations: 23.98 kB / 0.7874 GB, free: 132 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1869, allocations: 40.88 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1869, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001653/0.1871, allocations: 65.61 kB / 0.7875 GB, free: 16 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.1871, allocations: 4 kB / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1871, allocations: 3.984 kB / 0.7875 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.1871, allocations: 4 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2802/0.4673, allocations: 7.922 kB / 0.7876 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4673, allocations: 0 / 0.7876 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/0.4674, allocations: 10 kB / 0.7876 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4674, allocations: 0 / 0.7876 GB, free: 48.63 MB / 0.6544 GB 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.651e-05/0.4675, allocations: 117.8 kB / 0.7877 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.4675, allocations: 3.25 kB / 0.7877 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.4677, allocations: 75.33 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4678, allocations: 0.6562 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4678, allocations: 0 / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4678, allocations: 0 / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4679, allocations: 163.5 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4679, allocations: 0 / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.468, allocations: 12.47 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.468, allocations: 2.875 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.468, allocations: 1.781 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.468, allocations: 2.719 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.468, allocations: 0 / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.4682, allocations: 170.8 kB / 0.7881 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.4682, allocations: 86.72 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.4682, allocations: 0 / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.4683, allocations: 8.484 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.4683, allocations: 6.656 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.4684, allocations: 3.828 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.193e-05/0.4684, allocations: 80.27 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4684, allocations: 0 / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002031/0.4686, allocations: 6.312 kB / 0.7883 GB, free: 48 MB / 0.6544 GB 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 8.608e-05/0.4687, allocations: 102.5 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.4689, allocations: 43.59 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4689, allocations: 0 / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.4689, allocations: 20.27 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4692, allocations: 4.656 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.4695, allocations: 125 kB / 0.7886 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.4696, allocations: 0.6758 MB / 0.7892 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.4696, allocations: 4.469 kB / 0.7892 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.4696, allocations: 7.438 kB / 0.7892 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.4696, allocations: 4 kB / 0.7892 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.001921/0.4716, allocations: 499.3 kB / 0.7897 GB, free: 47.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)