Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 104.3 kB / 16.94 MB, free: 5.797 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.001599/0.001599, allocations: 185.3 kB / 17.86 MB, free: 5.184 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.401/1.401, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7982/0.7982, allocations: 125.3 MB / 417.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 75.86 kB / 0.4948 GB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3443, allocations: 78.55 MB / 0.5715 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00224/0.3466, allocations: 1.261 MB / 0.5727 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3478, allocations: 0.8253 MB / 0.5736 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.834e-05/0.3478, allocations: 5.094 kB / 0.5736 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.3478, allocations: 0.6094 kB / 0.5736 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.3479, allocations: 5.938 kB / 0.5736 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.3483, allocations: 134.6 kB / 0.5737 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.3484, allocations: 24.3 kB / 0.5737 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.3485, allocations: 4.641 kB / 0.5737 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.3485, allocations: 7.375 kB / 0.5737 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.3486, allocations: 15.56 kB / 0.5737 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3486, allocations: 1.031 kB / 0.5737 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.3489, allocations: 166.7 kB / 0.5739 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.3489, allocations: 2.578 kB / 0.5739 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.349, allocations: 14.23 kB / 0.5739 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.3492, allocations: 119.5 kB / 0.574 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3492, allocations: 5.438 kB / 0.574 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3493, allocations: 1.781 kB / 0.574 GB, free: 29.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3493, allocations: 0 / 0.574 GB, free: 29.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003898/0.3497, allocations: 358.2 kB / 0.5744 GB, free: 29.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3497, allocations: 10.27 kB / 0.5744 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.3497, allocations: 2.969 kB / 0.5744 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/0.3498, allocations: 164.4 kB / 0.5746 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.3499, allocations: 30.12 kB / 0.5746 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.3499, allocations: 3.531 kB / 0.5746 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3501, allocations: 44.59 kB / 0.5746 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.3501, allocations: 7.875 kB / 0.5746 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3501, allocations: 9 kB / 0.5746 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3501, allocations: 1.406 kB / 0.5746 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.3502, allocations: 16.22 kB / 0.5747 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.3503, allocations: 161.8 kB / 0.5748 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3505, allocations: 43.69 kB / 0.5749 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.3506, allocations: 18.11 kB / 0.5749 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.3509, allocations: 183.1 kB / 0.575 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.3509, allocations: 33.27 kB / 0.5751 GB, free: 28.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3509, allocations: 0.8438 kB / 0.5751 GB, free: 28.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002485/0.3511, allocations: 76.73 kB / 0.5752 GB, free: 28.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.3512, allocations: 53.91 kB / 0.5752 GB, free: 28.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.3512, allocations: 98.94 kB / 0.5753 GB, free: 28.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.3513, allocations: 26.8 kB / 0.5753 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.372e-05/0.3513, allocations: 85.3 kB / 0.5754 GB, free: 28.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.3513, allocations: 16.17 kB / 0.5754 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.3513, allocations: 19.56 kB / 0.5754 GB, free: 28.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.3514, allocations: 316.4 kB / 0.5757 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.187e-05/0.3514, allocations: 8.531 kB / 0.5757 GB, free: 27.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.3515, allocations: 11.94 kB / 0.5758 GB, free: 27.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.361e-05/0.3516, allocations: 31.91 kB / 0.5758 GB, free: 27.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3516, allocations: 0 / 0.5758 GB, free: 27.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00013/0.3517, allocations: 61.62 kB / 0.5758 GB, free: 27.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3518, allocations: 9.281 kB / 0.5759 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3518, allocations: 0 / 0.5759 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3518, allocations: 3.984 kB / 0.5759 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.3519, allocations: 11.56 kB / 0.5759 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3519, allocations: 1.344 kB / 0.5759 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.3519, allocations: 1.953 kB / 0.5759 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3519, allocations: 1.219 kB / 0.5759 GB, free: 27.83 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 (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 4.915e-05/0.352, allocations: 110.2 kB / 0.576 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.352, allocations: 5.734 kB / 0.576 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.3522, allocations: 76.81 kB / 0.5761 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3522, allocations: 1.172 kB / 0.5761 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3522, allocations: 2.094 kB / 0.5761 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3522, allocations: 0 / 0.5761 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.892e-05/0.3523, allocations: 154.9 kB / 0.5762 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3523, allocations: 2.688 kB / 0.5762 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.3523, allocations: 7.766 kB / 0.5762 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3523, allocations: 5.094 kB / 0.5762 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3524, allocations: 1.406 kB / 0.5762 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3524, allocations: 1.938 kB / 0.5762 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3524, allocations: 0 / 0.5762 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.3525, allocations: 96.02 kB / 0.5763 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.3526, allocations: 86.83 kB / 0.5764 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.3526, allocations: 4.5 kB / 0.5764 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.3526, allocations: 3.297 kB / 0.5764 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3527, allocations: 8.672 kB / 0.5764 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3527, allocations: 1.688 kB / 0.5764 GB, free: 27.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.174e-05/0.3527, allocations: 80.11 kB / 0.5765 GB, free: 27.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3527, allocations: 1.125 kB / 0.5765 GB, free: 27.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.353, allocations: 32.11 kB / 0.5765 GB, free: 27.19 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 (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.0001968/0.3532, allocations: 141.1 kB / 0.5767 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.3534, allocations: 30.67 kB / 0.5767 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3534, allocations: 0.75 kB / 0.5767 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.3534, allocations: 16.97 kB / 0.5767 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3537, allocations: 6.719 kB / 0.5767 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.3539, allocations: 145.8 kB / 0.5769 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.354, allocations: 0.6775 MB / 0.5775 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.3541, allocations: 15.66 kB / 0.5775 GB, free: 26.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3541, allocations: 4.531 kB / 0.5775 GB, free: 26.22 MB / 446.1 MB Notification: Performance of Templates: time 0.002831/0.3569, allocations: 0.9895 MB / 0.5785 GB, free: 26.18 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)