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.005239/0.005239, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001037/0.001037, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.222/1.222, allocations: 205.1 MB / 222.5 MB, free: 4.453 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.374/1.374, 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.001268/0.001268, allocations: 71.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1781, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002277/0.1805, allocations: 1.489 MB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1816, allocations: 0.8193 MB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.1816, allocations: 3.938 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.1817, allocations: 7.922 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.1817, allocations: 11.92 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.1822, allocations: 131.4 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.1822, allocations: 47.86 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.1823, allocations: 15.98 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.1824, allocations: 19.92 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.1824, allocations: 23.92 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1825, allocations: 8 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.1827, allocations: 171.7 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.1828, allocations: 11.92 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.1828, allocations: 23.88 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.183, allocations: 151.6 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1831, allocations: 0 / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1831, allocations: 0 / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1831, allocations: 0 / 0.8309 GB, free: 13.27 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.0004669/0.1835, allocations: 395.3 kB / 0.8313 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.1836, allocations: 8.031 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1836, allocations: 8.844 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1837, allocations: 176.2 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1837, allocations: 4.375 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.1837, allocations: 384 / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.184, allocations: 74.2 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.184, allocations: 192 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.184, allocations: 11.94 kB / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.184, allocations: 4 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.1843, allocations: 63.92 kB / 0.8316 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.1846, allocations: 280.8 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1848, allocations: 54.55 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.1849, allocations: 44.89 kB / 0.832 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.1851, allocations: 89.09 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1851, allocations: 34.56 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1851, allocations: 4 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004728/0.1856, allocations: 137.4 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1856, allocations: 51.41 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.1857, allocations: 121.7 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1857, allocations: 25.7 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1858, allocations: 92.08 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.1858, allocations: 19.73 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.1858, allocations: 13.72 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.1859, allocations: 318.8 kB / 0.8328 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1861, allocations: 31.95 kB / 0.8328 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1862, allocations: 35.97 kB / 0.8329 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.1864, allocations: 64.78 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1864, allocations: 0 / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002655/0.1867, allocations: 97.56 kB / 0.833 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1867, allocations: 12 kB / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1867, allocations: 3.984 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1868, allocations: 0 / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1869, allocations: 19.97 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1869, allocations: 0 / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.1869, allocations: 19.92 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.187, allocations: 0 / 0.8331 GB, free: 10.75 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 6.16e-05/0.187, allocations: 113.8 kB / 0.8332 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1871, allocations: 7.906 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.1874, allocations: 109.5 kB / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1874, allocations: 0 / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1874, allocations: 0 / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1874, allocations: 7.984 kB / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1875, allocations: 173.6 kB / 0.8335 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1876, allocations: 4 kB / 0.8335 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.1876, allocations: 15.97 kB / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1876, allocations: 0 / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1877, allocations: 4 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1877, allocations: 0 / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1877, allocations: 0 / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.188, allocations: 203.3 kB / 0.8337 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.188, allocations: 81.53 kB / 0.8338 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.188, allocations: 3.984 kB / 0.8338 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.1881, allocations: 7.984 kB / 0.8338 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.1882, allocations: 8 kB / 0.8338 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1882, allocations: 0 / 0.8338 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.593e-05/0.1883, allocations: 99.2 kB / 0.8339 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1883, allocations: 4 kB / 0.8339 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002397/0.1885, allocations: 28 kB / 0.8339 GB, free: 9.793 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.0001909/0.1887, allocations: 139.2 kB / 0.8341 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.189, allocations: 67.91 kB / 0.8341 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.189, allocations: 0 / 0.8341 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1892, allocations: 47.89 kB / 0.8342 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1894, allocations: 14.53 kB / 0.8342 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.1897, allocations: 151.2 kB / 0.8343 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.19, allocations: 0.6844 MB / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.19, allocations: 8 kB / 0.835 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.19, allocations: 7.438 kB / 0.835 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.19, allocations: 4 kB / 0.835 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of Templates: time 0.003533/0.1936, allocations: 1.367 MB / 0.8363 GB, free: 7.258 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)