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.001078/0.001078, allocations: 105.2 kB / 16.4 MB, free: 6.445 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.001279/0.001279, allocations: 196 kB / 17.34 MB, free: 5.719 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.318/1.318, allocations: 222.9 MB / 241 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.696/0.696, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 65.36 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1466, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002413/0.1491, allocations: 1.481 MB / 0.6335 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1502, allocations: 0.8068 MB / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.1503, allocations: 0 / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1503, allocations: 3.938 kB / 0.6343 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.1503, allocations: 11.88 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.1508, allocations: 135.4 kB / 0.6344 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.1509, allocations: 55.78 kB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.151, allocations: 16 kB / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.151, allocations: 15.92 kB / 0.6345 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.1511, allocations: 31.84 kB / 0.6346 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1511, allocations: 4 kB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.1514, allocations: 167.8 kB / 0.6347 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1514, allocations: 7.938 kB / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.1515, allocations: 23.92 kB / 0.6348 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1517, allocations: 155.6 kB / 0.6349 GB, free: 1.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1517, allocations: 0 / 0.6349 GB, free: 1.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.145e-06/0.1517, allocations: 0 / 0.6349 GB, free: 1.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1517, allocations: 3.938 kB / 0.6349 GB, free: 1.477 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.0005151/0.1522, allocations: 395.2 kB / 0.6353 GB, free: 1.039 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1523, allocations: 15.97 kB / 0.6353 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1523, allocations: 0.9375 kB / 0.6353 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1524, allocations: 176.3 kB / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1525, allocations: 384 / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1525, allocations: 4.375 kB / 0.6355 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.1527, allocations: 70.22 kB / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1527, allocations: 4.125 kB / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1528, allocations: 7.938 kB / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1528, allocations: 0 / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.1531, allocations: 79.84 kB / 0.6356 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.1534, allocations: 284.7 kB / 0.6359 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1536, allocations: 54.53 kB / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.1538, allocations: 40.92 kB / 0.636 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.1539, allocations: 89.09 kB / 0.6361 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.154, allocations: 38.5 kB / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.154, allocations: 0 / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005268/0.1545, allocations: 129.6 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1545, allocations: 55.41 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.1546, allocations: 113.8 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1547, allocations: 29.69 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.1547, allocations: 92.05 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.1547, allocations: 3.906 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1548, allocations: 21.72 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.1549, allocations: 318.8 kB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.155, allocations: 31.97 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1551, allocations: 35.89 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1554, allocations: 73.06 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1554, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000332/0.1558, allocations: 97.61 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1558, allocations: 4 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1558, allocations: 0 / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1558, allocations: 4 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.156, allocations: 19.98 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.156, allocations: 3.938 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.1561, allocations: 15.89 kB / 0.6371 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1561, allocations: 0 / 0.6371 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 7.611e-05/0.1562, allocations: 121.7 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1562, allocations: 4 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.1566, allocations: 105.5 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1566, allocations: 4 kB / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1566, allocations: 0 / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1566, allocations: 0 / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1568, allocations: 177.5 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1568, allocations: 0 / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-05/0.1569, allocations: 15.98 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1569, allocations: 4 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1569, allocations: 0 / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1569, allocations: 4 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1569, allocations: 3.938 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.1573, allocations: 207.2 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.1573, allocations: 81.11 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1573, allocations: 0 / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1574, allocations: 15.98 kB / 0.6378 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1575, allocations: 3.984 kB / 0.6378 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1575, allocations: 4 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.1576, allocations: 91.27 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1576, allocations: 0 / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1578, allocations: 31.91 kB / 0.6379 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.0001878/0.158, allocations: 143.2 kB / 0.6381 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.1584, allocations: 71.86 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1584, allocations: 0 / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.1585, allocations: 35.91 kB / 0.6382 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.0002668/0.1588, allocations: 21.33 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.1591, allocations: 127.3 kB / 0.6383 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1593, allocations: 0.6866 MB / 0.639 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.39e-05/0.1594, allocations: 8.312 kB / 0.639 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1594, allocations: 15.44 kB / 0.639 GB, free: 12.84 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1594, allocations: 0 / 0.639 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Templates: time 0.003436/0.1629, allocations: 1.379 MB / 0.6404 GB, free: 11.48 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)