Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 102.3 kB / 15.98 MB, free: 6.34 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.001293/0.001293, allocations: 201.4 kB / 16.91 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7621/0.7621, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3917, allocations: 77.92 MB / 0.5667 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003292/0.3951, allocations: 1.715 MB / 0.5684 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1753/0.5704, allocations: 147.5 MB / 0.7124 GB, free: 5.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.5706, allocations: 4 kB / 0.7124 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.5709, allocations: 15.86 kB / 0.7125 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.5714, allocations: 47.77 kB / 0.7125 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.5721, allocations: 163.5 kB / 0.7127 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.5724, allocations: 159.5 kB / 0.7128 GB, free: 4.867 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.5726, allocations: 35.06 kB / 0.7128 GB, free: 4.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.5751, allocations: 202.1 kB / 0.713 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.5753, allocations: 63.73 kB / 0.7131 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.5753, allocations: 8 kB / 0.7131 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.5757, allocations: 163.8 kB / 0.7133 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.5758, allocations: 27.91 kB / 0.7133 GB, free: 4.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.5759, allocations: 55.72 kB / 0.7133 GB, free: 4.352 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.5763, allocations: 207.4 kB / 0.7135 GB, free: 4.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.5763, allocations: 0 / 0.7135 GB, free: 4.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5763, allocations: 0 / 0.7135 GB, free: 4.148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.5763, allocations: 0 / 0.7135 GB, free: 4.148 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001096/0.5774, allocations: 470.9 kB / 0.714 GB, free: 3.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.5775, allocations: 12.62 kB / 0.714 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007619/0.5783, allocations: 48.78 kB / 0.714 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.5786, allocations: 208.2 kB / 0.7142 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5786, allocations: 12 kB / 0.7142 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.5786, allocations: 8 kB / 0.7143 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.5792, allocations: 173.8 kB / 0.7144 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5792, allocations: 3.938 kB / 0.7144 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.5792, allocations: 12 kB / 0.7144 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5792, allocations: 0 / 0.7144 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.5797, allocations: 139.8 kB / 0.7146 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.581, allocations: 0.8322 MB / 0.7154 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.5814, allocations: 130.5 kB / 0.7155 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.5817, allocations: 84.78 kB / 0.7156 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.5817, allocations: 0 / 0.7156 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.5817, allocations: 38.5 kB / 0.7156 GB, free: 1.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.5817, allocations: 4 kB / 0.7156 GB, free: 1.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001936/0.5837, allocations: 455.3 kB / 0.7161 GB, free: 1.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.5837, allocations: 59.41 kB / 0.7161 GB, free: 1.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.5839, allocations: 148.6 kB / 0.7163 GB, free: 1.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.5839, allocations: 29.69 kB / 0.7163 GB, free: 1.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.584, allocations: 112.2 kB / 0.7164 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.584, allocations: 23.64 kB / 0.7164 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.5841, allocations: 33.7 kB / 0.7165 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5842, allocations: 318.8 kB / 0.7168 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.5845, allocations: 75.88 kB / 0.7168 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.5847, allocations: 104.2 kB / 0.7169 GB, free: 384 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.5852, allocations: 176.1 kB / 0.7171 GB, free: 192 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5852, allocations: 3.984 kB / 0.7171 GB, free: 188 kB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001025/0.5863, allocations: 282 kB / 0.7174 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.5863, allocations: 11.94 kB / 0.7174 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5863, allocations: 0 / 0.7174 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.5869, allocations: 84.89 kB / 0.7175 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.5872, allocations: 35.95 kB / 0.7175 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.5896, allocations: 1.662 MB / 0.7191 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.5899, allocations: 27.83 kB / 0.7191 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.5899, allocations: 7.984 kB / 0.7192 GB, free: 13.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.59, allocations: 117.8 kB / 0.7193 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.5901, allocations: 11.91 kB / 0.7193 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.5912, allocations: 314.8 kB / 0.7196 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5912, allocations: 0 / 0.7196 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.5912, allocations: 192 / 0.7196 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5912, allocations: 4 kB / 0.7196 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.5915, allocations: 249.4 kB / 0.7198 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5915, allocations: 4 kB / 0.7198 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.5917, allocations: 27.97 kB / 0.7198 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/0.5922, allocations: 80.7 kB / 0.7199 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.5922, allocations: 3.938 kB / 0.7199 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/0.5947, allocations: 1.689 MB / 0.7216 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5947, allocations: 0 / 0.7216 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.5959, allocations: 374.5 kB / 0.7219 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.596, allocations: 116.8 kB / 0.722 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.5961, allocations: 0 / 0.722 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.5963, allocations: 23.91 kB / 0.7221 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/0.5964, allocations: 15.98 kB / 0.7221 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.5964, allocations: 0 / 0.7221 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001233/0.5966, allocations: 115.9 kB / 0.7222 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5966, allocations: 0 / 0.7222 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005711/0.5972, allocations: 47.94 kB / 0.7222 GB, free: 10.51 MB / 0.5606 GB 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002256/0.5974, allocations: 111.2 kB / 0.7223 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009979/0.5984, allocations: 318.7 kB / 0.7227 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5984, allocations: 0 / 0.7227 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.599, allocations: 226.6 kB / 0.7229 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.5994, allocations: 28.52 kB / 0.7229 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.6004, allocations: 355.4 kB / 0.7232 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.6008, allocations: 0.7163 MB / 0.7239 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.601, allocations: 21.02 kB / 0.724 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.6011, allocations: 19.42 kB / 0.724 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.6011, allocations: 0 / 0.724 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of Templates: time 0.00683/0.608, allocations: 3.099 MB / 0.727 GB, free: 5.59 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)