Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.004125/0.004125, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.0009833/0.0009833, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.248/1.248, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.36/1.36, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001421/0.001421, allocations: 74.06 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1817, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002395/0.1842, allocations: 1.411 MB / 0.8294 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.1851, allocations: 0.594 MB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.1851, allocations: 0 / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.1851, allocations: 3.938 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.1852, allocations: 4 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1855, allocations: 107.5 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.1856, allocations: 23.86 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.1857, allocations: 11.94 kB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.1857, allocations: 11.98 kB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.1858, allocations: 11.94 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1858, allocations: 4 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.1861, allocations: 143.8 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.1861, allocations: 0 / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.1861, allocations: 11.92 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1863, allocations: 111.6 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1863, allocations: 0 / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1863, allocations: 0 / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.1863, allocations: 4 kB / 0.8304 GB, free: 13.78 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.0004402/0.1868, allocations: 363.2 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1868, allocations: 12.03 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003869/0.1872, allocations: 32.84 kB / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1873, allocations: 164.3 kB / 0.831 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1874, allocations: 384 / 0.831 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1874, allocations: 8.375 kB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1876, allocations: 66.2 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1876, allocations: 4.172 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1877, allocations: 3.938 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1877, allocations: 3.984 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.1879, allocations: 55.89 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1883, allocations: 272.8 kB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1885, allocations: 58.47 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1887, allocations: 44.89 kB / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1887, allocations: 0 / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.1887, allocations: 30.56 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.1887, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004397/0.1892, allocations: 117.5 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1892, allocations: 55.41 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/0.1893, allocations: 97.86 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1893, allocations: 25.7 kB / 0.8318 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1894, allocations: 88.03 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1894, allocations: 11.94 kB / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.1894, allocations: 17.84 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.1895, allocations: 310.8 kB / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1896, allocations: 27.97 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1897, allocations: 23.97 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.19, allocations: 64.8 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.19, allocations: 0 / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002627/0.1902, allocations: 89.58 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1903, allocations: 12.03 kB / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1903, allocations: 3.938 kB / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1903, allocations: 0 / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1904, allocations: 15.97 kB / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1904, allocations: 0 / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.1905, allocations: 7.984 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1905, allocations: 4 kB / 0.8324 GB, free: 11.5 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 6.784e-05/0.1906, allocations: 109.8 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.1906, allocations: 4 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.1907, allocations: 11.12 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1907, allocations: 0 / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1907, allocations: 3.984 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1907, allocations: 0 / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1908, allocations: 165.6 kB / 0.8327 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1908, allocations: 0 / 0.8327 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/0.1909, allocations: 19.92 kB / 0.8327 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1909, allocations: 0 / 0.8327 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.191, allocations: 4 kB / 0.8327 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.191, allocations: 3.984 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.191, allocations: 0 / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1913, allocations: 187.4 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.1913, allocations: 77.11 kB / 0.833 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1913, allocations: 0 / 0.833 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1914, allocations: 11.98 kB / 0.833 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1915, allocations: 7.984 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1915, allocations: 0 / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.1915, allocations: 83.22 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1915, allocations: 0 / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002213/0.1918, allocations: 19.97 kB / 0.8331 GB, free: 10.71 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 (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.0001385/0.1919, allocations: 107.5 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.1922, allocations: 63.88 kB / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1922, allocations: 0 / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1923, allocations: 36.02 kB / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.1926, allocations: 11.94 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1929, allocations: 122.3 kB / 0.8334 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.1931, allocations: 0.6805 MB / 0.8341 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.114e-05/0.1932, allocations: 16 kB / 0.8341 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.1932, allocations: 19.36 kB / 0.8341 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.1932, allocations: 0 / 0.8341 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of Templates: time 0.002447/0.1957, allocations: 0.7803 MB / 0.8349 GB, free: 8.82 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)