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.001043/0.001043, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.001149/0.001149, allocations: 179.9 kB / 17.58 MB, free: 6.188 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.332/1.332, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7027/0.7027, allocations: 115.5 MB / 408.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3401, allocations: 77.52 MB / 0.5606 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001523/0.3417, allocations: 1.202 MB / 0.5617 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3429, allocations: 0.8167 MB / 0.5625 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.3429, allocations: 1.781 kB / 0.5625 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.343, allocations: 4.594 kB / 0.5626 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.343, allocations: 10.22 kB / 0.5626 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.3436, allocations: 106.8 kB / 0.5627 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.3e-05/0.3437, allocations: 51.56 kB / 0.5627 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3438, allocations: 13.36 kB / 0.5627 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.3438, allocations: 23.23 kB / 0.5627 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.3439, allocations: 24.36 kB / 0.5628 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3439, allocations: 2.531 kB / 0.5628 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.3444, allocations: 170 kB / 0.5629 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.3444, allocations: 11.2 kB / 0.5629 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.3444, allocations: 45.39 kB / 0.563 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3447, allocations: 106.1 kB / 0.5631 GB, free: 34.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3447, allocations: 0 / 0.5631 GB, free: 34.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3447, allocations: 0 / 0.5631 GB, free: 34.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3447, allocations: 0 / 0.5631 GB, free: 34.57 MB / 446.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.000529/0.3453, allocations: 404.1 kB / 0.5635 GB, free: 34.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3453, allocations: 13.94 kB / 0.5635 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.3454, allocations: 8.812 kB / 0.5635 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.3455, allocations: 168.2 kB / 0.5637 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3455, allocations: 3.625 kB / 0.5637 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3455, allocations: 3.844 kB / 0.5637 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.3458, allocations: 100.6 kB / 0.5638 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3458, allocations: 0.9375 kB / 0.5638 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3458, allocations: 3.938 kB / 0.5638 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3459, allocations: 1.438 kB / 0.5638 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.3462, allocations: 90.03 kB / 0.5639 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.3465, allocations: 286.7 kB / 0.5641 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.3467, allocations: 67.08 kB / 0.5642 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3469, allocations: 50.89 kB / 0.5642 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.3471, allocations: 97.92 kB / 0.5643 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.3471, allocations: 32.2 kB / 0.5644 GB, free: 33.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3471, allocations: 0.5938 kB / 0.5644 GB, free: 33.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005824/0.3477, allocations: 166.1 kB / 0.5645 GB, free: 33.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.3477, allocations: 51.41 kB / 0.5646 GB, free: 33.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.3478, allocations: 118.7 kB / 0.5647 GB, free: 33.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.3478, allocations: 27.33 kB / 0.5647 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.3479, allocations: 91.52 kB / 0.5648 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.3479, allocations: 10.66 kB / 0.5648 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.3479, allocations: 15.33 kB / 0.5648 GB, free: 33.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.348, allocations: 318.4 kB / 0.5651 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3481, allocations: 43.34 kB / 0.5652 GB, free: 32.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3483, allocations: 45.62 kB / 0.5652 GB, free: 32.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3486, allocations: 94.22 kB / 0.5653 GB, free: 32.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3486, allocations: 0 / 0.5653 GB, free: 32.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003755/0.349, allocations: 121.9 kB / 0.5654 GB, free: 32.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.349, allocations: 9.219 kB / 0.5654 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.349, allocations: 0 / 0.5654 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3491, allocations: 1.094 kB / 0.5654 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3492, allocations: 25.08 kB / 0.5654 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3492, allocations: 1.406 kB / 0.5655 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.647e-05/0.3493, allocations: 26.47 kB / 0.5655 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3493, allocations: 0.6094 kB / 0.5655 GB, free: 32.67 MB / 446.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 5.875e-05/0.3494, allocations: 116.3 kB / 0.5656 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3494, allocations: 5.406 kB / 0.5656 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.3498, allocations: 129 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3499, allocations: 1.766 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3499, allocations: 0 / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3499, allocations: 3.094 kB / 0.5657 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.35, allocations: 172.9 kB / 0.5659 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.35, allocations: 0.5156 kB / 0.5659 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3501, allocations: 25.55 kB / 0.5659 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3502, allocations: 1.906 kB / 0.5659 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3502, allocations: 0 / 0.5659 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3502, allocations: 2.406 kB / 0.5659 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3502, allocations: 0.7031 kB / 0.5659 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.3505, allocations: 218.4 kB / 0.5661 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.3506, allocations: 84.38 kB / 0.5662 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.3506, allocations: 2.672 kB / 0.5662 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3507, allocations: 20.66 kB / 0.5662 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.3508, allocations: 12.12 kB / 0.5662 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3508, allocations: 1.219 kB / 0.5662 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.3508, allocations: 92.91 kB / 0.5663 GB, free: 31.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3508, allocations: 0 / 0.5663 GB, free: 31.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.3511, allocations: 32.09 kB / 0.5664 GB, free: 31.96 MB / 446.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.0001998/0.3513, allocations: 130.3 kB / 0.5665 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.3517, allocations: 101.4 kB / 0.5666 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3517, allocations: 0.5625 kB / 0.5666 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.3519, allocations: 48.52 kB / 0.5666 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.3522, allocations: 9.984 kB / 0.5666 GB, free: 31.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.3525, allocations: 195.5 kB / 0.5668 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.3526, allocations: 0.6863 MB / 0.5675 GB, free: 30.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.3527, allocations: 10.34 kB / 0.5675 GB, free: 30.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3527, allocations: 0 / 0.5675 GB, free: 30.96 MB / 446.1 MB Notification: Performance of Templates: time 0.003273/0.356, allocations: 1.212 MB / 0.5687 GB, free: 30.87 MB / 446.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)