Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006214/0.006214, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001277/0.001277, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.237/1.237, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.346/1.346, allocations: 251.7 MB / 0.5094 GB, free: 2.992 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.001338/0.001338, allocations: 66.25 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1773, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002418/0.1798, allocations: 1.489 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1809, allocations: 0.8078 MB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.181, allocations: 7.938 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.181, allocations: 3.938 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.1811, allocations: 7.875 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.1815, allocations: 131.4 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.1816, allocations: 51.84 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.1817, allocations: 23.92 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.1818, allocations: 19.92 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.1818, allocations: 27.91 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1819, allocations: 4 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.1822, allocations: 167.8 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.1822, allocations: 7.938 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.1822, allocations: 31.8 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1825, allocations: 143.6 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1825, allocations: 3.938 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1825, allocations: 7.938 kB / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1825, allocations: 0 / 0.8309 GB, free: 13.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005161/0.1831, allocations: 395 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1831, allocations: 12.03 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.1831, allocations: 4.891 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1833, allocations: 176.3 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1833, allocations: 4.375 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1833, allocations: 8.312 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1835, allocations: 70.22 kB / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1835, allocations: 4.188 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1836, allocations: 7.938 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1836, allocations: 4 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.1838, allocations: 67.92 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.1842, allocations: 284.7 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1843, allocations: 54.53 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1845, allocations: 36.92 kB / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.1847, allocations: 101.1 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1847, allocations: 34.56 kB / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.1847, allocations: 0 / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004841/0.1852, allocations: 137.5 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1852, allocations: 51.41 kB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.1853, allocations: 121.6 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1853, allocations: 25.7 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1854, allocations: 96.08 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.1854, allocations: 11.83 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.1855, allocations: 17.72 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1856, allocations: 322.8 kB / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1857, allocations: 31.97 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1858, allocations: 31.95 kB / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.1861, allocations: 64.8 kB / 0.833 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1861, allocations: 4 kB / 0.833 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002902/0.1864, allocations: 105.5 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1864, allocations: 8 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.1864, allocations: 0 / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1864, allocations: 0 / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1865, allocations: 11.98 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1866, allocations: 4 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.1866, allocations: 15.98 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1866, allocations: 7.938 kB / 0.8331 GB, free: 10.73 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 (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 prepare postOptimizeDAE: time 7.052e-05/0.1867, allocations: 113.8 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1867, allocations: 4 kB / 0.8332 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.1871, allocations: 113.5 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1871, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1871, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1871, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1873, allocations: 177.5 kB / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1873, allocations: 0 / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.1874, allocations: 15.98 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1874, allocations: 0 / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.1874, allocations: 0 / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1874, allocations: 0 / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1874, allocations: 8 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1877, allocations: 195.4 kB / 0.8337 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.1878, allocations: 81.48 kB / 0.8338 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1878, allocations: 4 kB / 0.8338 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.1879, allocations: 15.98 kB / 0.8338 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.188, allocations: 11.98 kB / 0.8338 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.188, allocations: 3.938 kB / 0.8338 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.188, allocations: 95.2 kB / 0.8339 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.188, allocations: 0 / 0.8339 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002393/0.1883, allocations: 31.88 kB / 0.8339 GB, free: 9.77 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 0.0001864/0.1885, allocations: 127.1 kB / 0.8341 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.1888, allocations: 75.91 kB / 0.8341 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1888, allocations: 0 / 0.8341 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1889, allocations: 35.95 kB / 0.8342 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1892, allocations: 19.92 kB / 0.8342 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.1895, allocations: 159.1 kB / 0.8343 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1897, allocations: 0.6883 MB / 0.835 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.1897, allocations: 0 / 0.835 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.1898, allocations: 15.44 kB / 0.835 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.1898, allocations: 0 / 0.835 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of Templates: time 0.00329/0.1931, allocations: 1.369 MB / 0.8364 GB, free: 7.234 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)