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.001165/0.001165, allocations: 113.9 kB / 17.08 MB, free: 6.016 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.001324/0.001324, allocations: 197.8 kB / 18.02 MB, free: 5.094 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7026/0.7026, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 65.94 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1537, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002531/0.1563, allocations: 1.482 MB / 0.6342 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1576, allocations: 0.8107 MB / 0.635 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.1576, allocations: 0 / 0.635 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.1576, allocations: 7.938 kB / 0.635 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.687e-05/0.1577, allocations: 11.86 kB / 0.635 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1581, allocations: 127.5 kB / 0.6351 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.572e-05/0.1582, allocations: 59.72 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1584, allocations: 23.97 kB / 0.6352 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.1584, allocations: 19.92 kB / 0.6352 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.1585, allocations: 19.92 kB / 0.6352 GB, free: 1.848 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1585, allocations: 4 kB / 0.6352 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.1588, allocations: 167.8 kB / 0.6354 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.1588, allocations: 15.92 kB / 0.6354 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.1589, allocations: 19.94 kB / 0.6354 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1591, allocations: 155.5 kB / 0.6356 GB, free: 1.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1591, allocations: 0 / 0.6356 GB, free: 1.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1591, allocations: 0 / 0.6356 GB, free: 1.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1591, allocations: 3.984 kB / 0.6356 GB, free: 1.488 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.0005433/0.1597, allocations: 395.2 kB / 0.6359 GB, free: 1.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1597, allocations: 12.03 kB / 0.6359 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.1598, allocations: 4.938 kB / 0.636 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1599, allocations: 172.3 kB / 0.6361 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1599, allocations: 384 / 0.6361 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1599, allocations: 4.375 kB / 0.6361 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.1602, allocations: 74.2 kB / 0.6362 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1602, allocations: 192 / 0.6362 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1602, allocations: 7.875 kB / 0.6362 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1602, allocations: 0 / 0.6362 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.1605, allocations: 79.91 kB / 0.6363 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.1609, allocations: 288.6 kB / 0.6366 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1611, allocations: 62.48 kB / 0.6366 GB, free: 264 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1613, allocations: 40.91 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.1614, allocations: 89.09 kB / 0.6367 GB, free: 112 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1615, allocations: 30.56 kB / 0.6368 GB, free: 72 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1615, allocations: 3.938 kB / 0.6368 GB, free: 68 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005379/0.162, allocations: 125.6 kB / 0.6369 GB, free: 15.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1621, allocations: 55.41 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.1622, allocations: 117.8 kB / 0.6371 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1622, allocations: 25.7 kB / 0.6371 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.1622, allocations: 96.05 kB / 0.6372 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.1623, allocations: 7.906 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1623, allocations: 17.7 kB / 0.6372 GB, free: 15.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.1624, allocations: 322.7 kB / 0.6375 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1625, allocations: 31.97 kB / 0.6375 GB, free: 15.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1627, allocations: 31.95 kB / 0.6376 GB, free: 15.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.163, allocations: 72.78 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.163, allocations: 0 / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003046/0.1633, allocations: 93.62 kB / 0.6377 GB, free: 15.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1633, allocations: 4 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1633, allocations: 4 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1633, allocations: 7.938 kB / 0.6377 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1634, allocations: 11.98 kB / 0.6377 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1635, allocations: 7.922 kB / 0.6378 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.752e-05/0.1635, allocations: 15.89 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1636, allocations: 0 / 0.6378 GB, free: 14.98 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 7.433e-05/0.1636, allocations: 117.8 kB / 0.6379 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1637, allocations: 8 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.164, allocations: 109.5 kB / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.164, allocations: 0 / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.164, allocations: 0 / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.164, allocations: 0 / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1642, allocations: 177.5 kB / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1642, allocations: 0 / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.076e-05/0.1643, allocations: 19.98 kB / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1643, allocations: 0 / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1643, allocations: 0 / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1643, allocations: 7.922 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1644, allocations: 0 / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.1647, allocations: 203.7 kB / 0.6384 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.1648, allocations: 81.14 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1648, allocations: 0 / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1649, allocations: 15.97 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.165, allocations: 8 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.165, allocations: 0 / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.712e-05/0.165, allocations: 91.27 kB / 0.6386 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.165, allocations: 0 / 0.6386 GB, free: 14.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1653, allocations: 35.84 kB / 0.6386 GB, free: 14.01 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.0001996/0.1655, allocations: 139.2 kB / 0.6387 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.1659, allocations: 75.8 kB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1659, allocations: 4 kB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.166, allocations: 35.97 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.0002985/0.1664, allocations: 13.8 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.0003655/0.1667, allocations: 165 kB / 0.639 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.167, allocations: 0.6807 MB / 0.6397 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.1671, allocations: 11.38 kB / 0.6397 GB, free: 12.83 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1671, allocations: 0 / 0.6397 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Templates: time 0.002951/0.17, allocations: 1.223 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)