Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 114.6 kB / 17.05 MB, free: 6.012 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.0009992/0.0009992, allocations: 193.2 kB / 17.99 MB, free: 5.098 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7059/0.7059, allocations: 115.3 MB / 407.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.12 kB / 0.5582 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.18, allocations: 76.17 MB / 0.6326 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.0024/0.1825, allocations: 1.243 MB / 0.6338 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006033/0.1831, allocations: 291.4 kB / 0.6341 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.1831, allocations: 7.938 kB / 0.6341 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.1832, allocations: 7.984 kB / 0.6341 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.1832, allocations: 7.922 kB / 0.6341 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1835, allocations: 39.77 kB / 0.6342 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.1836, allocations: 23.86 kB / 0.6342 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.1837, allocations: 4 kB / 0.6342 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.1837, allocations: 4 kB / 0.6342 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.1838, allocations: 11.97 kB / 0.6342 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1838, allocations: 0 / 0.6342 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.184, allocations: 51.95 kB / 0.6342 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.184, allocations: 7.938 kB / 0.6343 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.184, allocations: 11.94 kB / 0.6343 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1842, allocations: 51.83 kB / 0.6343 GB, free: 2.727 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1842, allocations: 0 / 0.6343 GB, free: 2.727 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.1842, allocations: 7.984 kB / 0.6343 GB, free: 2.719 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1842, allocations: 0 / 0.6343 GB, free: 2.719 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004445/0.1847, allocations: 335.5 kB / 0.6346 GB, free: 2.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1847, allocations: 8.031 kB / 0.6346 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.1849, allocations: 20.92 kB / 0.6347 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1851, allocations: 160.4 kB / 0.6348 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1851, allocations: 384 / 0.6348 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1851, allocations: 4.375 kB / 0.6348 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1852, allocations: 46.23 kB / 0.6349 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1853, allocations: 192 / 0.6349 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1853, allocations: 3.938 kB / 0.6349 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1853, allocations: 8 kB / 0.6349 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.1853, allocations: 15.94 kB / 0.6349 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.1855, allocations: 161.6 kB / 0.6351 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.1874, allocations: 266.5 kB / 0.6353 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.1874, allocations: 28.83 kB / 0.6353 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1875, allocations: 0 / 0.6353 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1875, allocations: 30.56 kB / 0.6354 GB, free: 1.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1875, allocations: 0 / 0.6354 GB, free: 1.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001847/0.1877, allocations: 69.56 kB / 0.6354 GB, free: 1.414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1877, allocations: 51.41 kB / 0.6355 GB, free: 1.352 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.1878, allocations: 93.86 kB / 0.6356 GB, free: 1.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1878, allocations: 33.83 kB / 0.6356 GB, free: 1.211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.1879, allocations: 80.14 kB / 0.6357 GB, free: 1.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1879, allocations: 15.73 kB / 0.6357 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.188, allocations: 17.72 kB / 0.6357 GB, free: 1.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1881, allocations: 310.8 kB / 0.636 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.1881, allocations: 12 kB / 0.636 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.1881, allocations: 11.92 kB / 0.636 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.1882, allocations: 28.86 kB / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1882, allocations: 4 kB / 0.6361 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.08e-05/0.1883, allocations: 53.62 kB / 0.6361 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1883, allocations: 8 kB / 0.6361 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1883, allocations: 3.938 kB / 0.6361 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1884, allocations: 0 / 0.6361 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.1884, allocations: 4 kB / 0.6361 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1884, allocations: 0 / 0.6361 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.1885, allocations: 4 kB / 0.6361 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1885, allocations: 0 / 0.6361 GB, free: 0.6406 MB / 478.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 (4): * Single equations (assignments): 4 * 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.713e-05/0.1886, allocations: 109.8 kB / 0.6362 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1886, allocations: 11.98 kB / 0.6362 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1886, allocations: 11.44 kB / 0.6363 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1886, allocations: 0 / 0.6363 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1886, allocations: 0 / 0.6363 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1886, allocations: 0 / 0.6363 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.1888, allocations: 153.7 kB / 0.6364 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1888, allocations: 4 kB / 0.6364 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.1888, allocations: 7.938 kB / 0.6364 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1888, allocations: 0 / 0.6364 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1889, allocations: 7.938 kB / 0.6364 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1889, allocations: 4 kB / 0.6364 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1889, allocations: 0 / 0.6364 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.189, allocations: 77.12 kB / 0.6365 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.1891, allocations: 85 kB / 0.6366 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1891, allocations: 3.938 kB / 0.6366 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.218e-05/0.1891, allocations: 4 kB / 0.6366 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1892, allocations: 8.375 kB / 0.6366 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1892, allocations: 0 / 0.6366 GB, free: 64 kB / 478.1 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.1892, allocations: 83.22 kB / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1892, allocations: 0 / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.1894, allocations: 8 kB / 0.6367 GB, free: 15.97 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 (4): * Single equations (assignments): 4 * 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.0001288/0.1896, allocations: 103.2 kB / 0.6368 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1897, allocations: 31.97 kB / 0.6368 GB, free: 15.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1897, allocations: 0 / 0.6368 GB, free: 15.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/0.1897, allocations: 12 kB / 0.6368 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.19, allocations: 12.08 kB / 0.6368 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.1904, allocations: 156.3 kB / 0.637 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1907, allocations: 0.6768 MB / 0.6376 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.1907, allocations: 11.44 kB / 0.6377 GB, free: 14.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1907, allocations: 0 / 0.6377 GB, free: 14.9 MB / 494.1 MB Notification: Performance of Templates: time 0.002006/0.1927, allocations: 0.523 MB / 0.6382 GB, free: 14.38 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)