Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001687/0.001688, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.001798/0.001798, allocations: 200.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7139/0.7139, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.88 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 76.17 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003585/0.1793, allocations: 1.49 MB / 0.6342 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1807, allocations: 0.8069 MB / 0.635 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.1808, allocations: 0 / 0.635 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.1809, allocations: 3.938 kB / 0.635 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.181, allocations: 7.938 kB / 0.635 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.1816, allocations: 139.4 kB / 0.6351 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1817, allocations: 51.78 kB / 0.6351 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1819, allocations: 16 kB / 0.6352 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.1819, allocations: 23.92 kB / 0.6352 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.182, allocations: 19.91 kB / 0.6352 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.182, allocations: 4 kB / 0.6352 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.1824, allocations: 175.7 kB / 0.6354 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.1825, allocations: 11.94 kB / 0.6354 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.1825, allocations: 19.92 kB / 0.6354 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.1829, allocations: 151.6 kB / 0.6355 GB, free: 1.488 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1829, allocations: 3.938 kB / 0.6356 GB, free: 1.484 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1829, allocations: 0 / 0.6356 GB, free: 1.484 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1829, allocations: 0 / 0.6356 GB, free: 1.484 MB / 478.1 MB 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.0006009/0.1835, allocations: 399.2 kB / 0.6359 GB, free: 1.043 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1836, allocations: 12.03 kB / 0.6359 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1836, allocations: 4.938 kB / 0.6359 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1837, allocations: 176.2 kB / 0.6361 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1838, allocations: 384 / 0.6361 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1838, allocations: 8.375 kB / 0.6361 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1841, allocations: 70.22 kB / 0.6362 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1841, allocations: 4.172 kB / 0.6362 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1841, allocations: 3.938 kB / 0.6362 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1841, allocations: 0 / 0.6362 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1844, allocations: 71.92 kB / 0.6363 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.1848, allocations: 292.6 kB / 0.6365 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1851, allocations: 58.53 kB / 0.6366 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1852, allocations: 40.92 kB / 0.6366 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.1854, allocations: 89.09 kB / 0.6367 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1855, allocations: 30.56 kB / 0.6368 GB, free: 68 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1855, allocations: 0 / 0.6368 GB, free: 68 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005758/0.186, allocations: 133.5 kB / 0.6369 GB, free: 15.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1861, allocations: 55.41 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.1862, allocations: 113.8 kB / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1862, allocations: 25.7 kB / 0.6371 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.1863, allocations: 96.03 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.1863, allocations: 7.906 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.1864, allocations: 17.72 kB / 0.6372 GB, free: 15.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1865, allocations: 322.8 kB / 0.6375 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.1867, allocations: 31.97 kB / 0.6375 GB, free: 15.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1868, allocations: 31.95 kB / 0.6376 GB, free: 15.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.1871, allocations: 72.73 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1871, allocations: 0 / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00033/0.1874, allocations: 97.61 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1875, allocations: 4 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1875, allocations: 3.938 kB / 0.6377 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1875, allocations: 8 kB / 0.6377 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1876, allocations: 11.98 kB / 0.6377 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1876, allocations: 0 / 0.6377 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/0.1877, allocations: 23.83 kB / 0.6378 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1878, allocations: 0 / 0.6378 GB, free: 14.97 MB / 494.1 MB 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 8.385e-05/0.1878, allocations: 121.8 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.1879, allocations: 4 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.1883, allocations: 113.5 kB / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1883, allocations: 0 / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1883, allocations: 0 / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1883, allocations: 0 / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1885, allocations: 177.5 kB / 0.6382 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1885, allocations: 384 / 0.6382 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-05/0.1886, allocations: 15.98 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1886, allocations: 4 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1886, allocations: 0 / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1886, allocations: 0 / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1886, allocations: 0 / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.189, allocations: 211.2 kB / 0.6384 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.1891, allocations: 81.11 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1891, allocations: 0 / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1892, allocations: 11.98 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.1893, allocations: 7.984 kB / 0.6385 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1893, allocations: 0 / 0.6385 GB, free: 14.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.1894, allocations: 95.7 kB / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1894, allocations: 0 / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1896, allocations: 31.91 kB / 0.6386 GB, free: 14 MB / 494.1 MB 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.0002252/0.1899, allocations: 139.2 kB / 0.6387 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.1902, allocations: 67.92 kB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1902, allocations: 0 / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1904, allocations: 39.89 kB / 0.6388 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1907, allocations: 17.67 kB / 0.6389 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.1911, allocations: 161 kB / 0.639 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1914, allocations: 0.6846 MB / 0.6397 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.1914, allocations: 11.44 kB / 0.6397 GB, free: 12.82 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1914, allocations: 0 / 0.6397 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002936/0.1944, allocations: 1.231 MB / 0.6409 GB, free: 11.61 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)