Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.004206/0.004206, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.0009765/0.0009766, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.231/1.231, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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.001271/0.001271, allocations: 75.88 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1784, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002068/0.1805, allocations: 1.404 MB / 0.8294 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003848/0.1809, allocations: 216.5 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.1809, allocations: 0 / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.1809, allocations: 0 / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.181, allocations: 7.875 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.1812, allocations: 19.92 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.026e-05/0.1812, allocations: 27.91 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.1813, allocations: 8 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.1814, allocations: 15.92 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.1814, allocations: 11.98 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1814, allocations: 0 / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.1815, allocations: 27.92 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.1815, allocations: 0 / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.1815, allocations: 15.92 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.1816, allocations: 31.95 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1816, allocations: 4 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.225e-06/0.1817, allocations: 0 / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1817, allocations: 7.938 kB / 0.8298 GB, free: 14.41 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.0003759/0.182, allocations: 335.5 kB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1821, allocations: 12.03 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.1822, allocations: 8.781 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.1823, allocations: 164.4 kB / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1823, allocations: 8.359 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.1823, allocations: 384 / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1825, allocations: 50.23 kB / 0.8303 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1825, allocations: 4.188 kB / 0.8303 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1825, allocations: 3.938 kB / 0.8303 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1825, allocations: 0 / 0.8303 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1826, allocations: 35.95 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.1829, allocations: 244.9 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1831, allocations: 46.53 kB / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.1831, allocations: 20.91 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.1832, allocations: 0 / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1832, allocations: 34.56 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1832, allocations: 0 / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002904/0.1835, allocations: 85.58 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1835, allocations: 51.41 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.1836, allocations: 101.8 kB / 0.8309 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1836, allocations: 29.7 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.1836, allocations: 84.05 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.1837, allocations: 4 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1837, allocations: 13.72 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.1838, allocations: 319 kB / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.1839, allocations: 15.98 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.1839, allocations: 15.98 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.184, allocations: 36.77 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1841, allocations: 3.984 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001606/0.1842, allocations: 81.52 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.1842, allocations: 4 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1842, allocations: 0 / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1843, allocations: 4 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.1843, allocations: 7.984 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1843, allocations: 0 / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.1844, allocations: 11.98 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1844, allocations: 0 / 0.8315 GB, free: 12.38 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.456e-05/0.1845, allocations: 117.8 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.1845, allocations: 3.938 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.1847, allocations: 80.7 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1847, allocations: 0 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1847, allocations: 0 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1847, allocations: 0 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1849, allocations: 169.6 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1849, allocations: 0 / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.1849, allocations: 15.98 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1849, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.185, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.185, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.185, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1852, allocations: 179.7 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.1852, allocations: 84.95 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.1852, allocations: 3.938 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.1853, allocations: 7.984 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.1853, allocations: 0 / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1853, allocations: 4 kB / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.681e-05/0.1854, allocations: 79.28 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1854, allocations: 0 / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001958/0.1856, allocations: 8 kB / 0.8323 GB, free: 11.54 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 7.891e-05/0.1857, allocations: 103.2 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.1858, allocations: 31.97 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1859, allocations: 4 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.1859, allocations: 27.91 kB / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1862, allocations: 3.938 kB / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.1864, allocations: 118.8 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1866, allocations: 0.6805 MB / 0.8332 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.1867, allocations: 0 / 0.8332 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.1867, allocations: 15.38 kB / 0.8332 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.1867, allocations: 0 / 0.8332 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.002045/0.1888, allocations: 0.4903 MB / 0.8337 GB, free: 10.01 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)