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.001451/0.001451, allocations: 107 kB / 17.03 MB, free: 5.699 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.001658/0.001658, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7349/0.7349, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3418, allocations: 76.13 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002375/0.3442, allocations: 1.481 MB / 0.559 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3453, allocations: 0.8085 MB / 0.5598 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.3454, allocations: 2.469 kB / 0.5598 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.3454, allocations: 3.938 kB / 0.5598 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.258e-05/0.3455, allocations: 5.094 kB / 0.5598 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.3459, allocations: 132.2 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.532e-05/0.346, allocations: 52.48 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3461, allocations: 19.08 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.3462, allocations: 17.72 kB / 0.56 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.3462, allocations: 30.84 kB / 0.56 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3463, allocations: 4.25 kB / 0.56 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.3466, allocations: 173 kB / 0.5602 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.3466, allocations: 7.641 kB / 0.5602 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.3466, allocations: 26.53 kB / 0.5602 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.347, allocations: 149.8 kB / 0.5604 GB, free: 34.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.347, allocations: 0.8438 kB / 0.5604 GB, free: 34.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.347, allocations: 0 / 0.5604 GB, free: 34.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.347, allocations: 0 / 0.5604 GB, free: 34.88 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.0004897/0.3475, allocations: 397.5 kB / 0.5608 GB, free: 34.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3475, allocations: 9.469 kB / 0.5608 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.3476, allocations: 9.391 kB / 0.5608 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.058e-05/0.3477, allocations: 180.1 kB / 0.561 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3477, allocations: 1.719 kB / 0.561 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.3477, allocations: 2.625 kB / 0.561 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3479, allocations: 75.3 kB / 0.561 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.348, allocations: 192 / 0.561 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.348, allocations: 9.984 kB / 0.561 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.348, allocations: 2.484 kB / 0.561 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.3483, allocations: 66.19 kB / 0.5611 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.3486, allocations: 291.5 kB / 0.5614 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.3488, allocations: 56.83 kB / 0.5614 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.3489, allocations: 38.17 kB / 0.5615 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.3491, allocations: 90.42 kB / 0.5616 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.3491, allocations: 36.94 kB / 0.5616 GB, free: 33.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3491, allocations: 0 / 0.5616 GB, free: 33.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005118/0.3497, allocations: 132.1 kB / 0.5617 GB, free: 33.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.3497, allocations: 54.62 kB / 0.5618 GB, free: 33.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.3498, allocations: 117.6 kB / 0.5619 GB, free: 33.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3498, allocations: 27.17 kB / 0.5619 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.3499, allocations: 89.22 kB / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3499, allocations: 13.64 kB / 0.562 GB, free: 33.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.3499, allocations: 18.36 kB / 0.562 GB, free: 33.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.193e-05/0.35, allocations: 318.8 kB / 0.5623 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3501, allocations: 31.77 kB / 0.5624 GB, free: 33.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3503, allocations: 33.58 kB / 0.5624 GB, free: 33.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.3505, allocations: 68.22 kB / 0.5625 GB, free: 33.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3506, allocations: 0 / 0.5625 GB, free: 33.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.3509, allocations: 109.1 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3509, allocations: 4.844 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3509, allocations: 3.172 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3509, allocations: 0 / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.351, allocations: 16.39 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3511, allocations: 0.75 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.3511, allocations: 17.72 kB / 0.5626 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3512, allocations: 1.375 kB / 0.5626 GB, free: 32.99 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.595e-05/0.3512, allocations: 114 kB / 0.5627 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.3513, allocations: 6.594 kB / 0.5627 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.3516, allocations: 112 kB / 0.5628 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3516, allocations: 0 / 0.5628 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3516, allocations: 1.469 kB / 0.5628 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3516, allocations: 0.6094 kB / 0.5628 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.3518, allocations: 174.8 kB / 0.563 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3518, allocations: 7.875 kB / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/0.3519, allocations: 17.25 kB / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3519, allocations: 0 / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3519, allocations: 1.25 kB / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3519, allocations: 2.016 kB / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3519, allocations: 0 / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.3522, allocations: 205.7 kB / 0.5632 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.3523, allocations: 80.25 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3523, allocations: 1.656 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3524, allocations: 13.12 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.3524, allocations: 7.328 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3525, allocations: 1.406 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.3525, allocations: 93.41 kB / 0.5634 GB, free: 32.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3525, allocations: 0.5 kB / 0.5634 GB, free: 32.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.3528, allocations: 33.55 kB / 0.5634 GB, free: 32.27 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.0001958/0.353, allocations: 129 kB / 0.5636 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.3533, allocations: 70.42 kB / 0.5636 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3533, allocations: 1.312 kB / 0.5636 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.3535, allocations: 41.66 kB / 0.5637 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3538, allocations: 13.42 kB / 0.5637 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.3541, allocations: 149.1 kB / 0.5638 GB, free: 32.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.3542, allocations: 0.683 MB / 0.5645 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.3542, allocations: 4.719 kB / 0.5645 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.3543, allocations: 14.94 kB / 0.5645 GB, free: 31.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3543, allocations: 0 / 0.5645 GB, free: 31.32 MB / 446.1 MB Notification: Performance of Templates: time 0.003846/0.3581, allocations: 1.373 MB / 0.5658 GB, free: 31.25 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)