Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 106.2 kB / 15.99 MB, free: 6.355 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.001712/0.001712, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7818/0.7818, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 0.4906 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3944, allocations: 77.93 MB / 0.5667 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002899/0.3973, allocations: 1.96 MB / 0.5686 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1859/0.5833, allocations: 153.2 MB / 0.7182 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.5835, allocations: 0 / 0.7182 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.5838, allocations: 19.8 kB / 0.7183 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.5841, allocations: 71.55 kB / 0.7183 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.5848, allocations: 233.8 kB / 0.7186 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.5852, allocations: 267.1 kB / 0.7188 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.5853, allocations: 64.39 kB / 0.7189 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.5873, allocations: 245.6 kB / 0.7191 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.5875, allocations: 99.59 kB / 0.7192 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.5875, allocations: 12 kB / 0.7192 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.5879, allocations: 187.7 kB / 0.7194 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.588, allocations: 47.83 kB / 0.7194 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.589e-05/0.5881, allocations: 95.52 kB / 0.7195 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.5885, allocations: 283.1 kB / 0.7198 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5885, allocations: 0 / 0.7198 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5885, allocations: 0 / 0.7198 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5885, allocations: 0 / 0.7198 GB, free: 13.74 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001011/0.5895, allocations: 0.5261 MB / 0.7203 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5896, allocations: 8.625 kB / 0.7203 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008902/0.5905, allocations: 91.61 kB / 0.7204 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.5908, allocations: 230.6 kB / 0.7206 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.5909, allocations: 38.03 kB / 0.7207 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.5909, allocations: 16 kB / 0.7207 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.5915, allocations: 266.5 kB / 0.7209 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5915, allocations: 0 / 0.7209 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.5915, allocations: 8 kB / 0.7209 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5915, allocations: 8 kB / 0.721 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.592, allocations: 167.8 kB / 0.7211 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.5937, allocations: 1.177 MB / 0.7223 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.5945, allocations: 202.7 kB / 0.7225 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.5947, allocations: 76.75 kB / 0.7225 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.5948, allocations: 0 / 0.7225 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.5948, allocations: 38.56 kB / 0.7226 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.5948, allocations: 0 / 0.7226 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002799/0.5976, allocations: 0.6297 MB / 0.7232 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.5977, allocations: 55.41 kB / 0.7232 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.5979, allocations: 208.2 kB / 0.7234 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.598, allocations: 25.7 kB / 0.7235 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.598, allocations: 140 kB / 0.7236 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.5981, allocations: 51.44 kB / 0.7236 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/0.5982, allocations: 53.59 kB / 0.7237 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5983, allocations: 330.8 kB / 0.724 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.5986, allocations: 67.95 kB / 0.7241 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.5988, allocations: 132.7 kB / 0.7242 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.5992, allocations: 194.8 kB / 0.7244 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5993, allocations: 0 / 0.7244 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001529/0.6008, allocations: 382.4 kB / 0.7247 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6008, allocations: 8 kB / 0.7248 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6008, allocations: 0 / 0.7248 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.602, allocations: 161.8 kB / 0.7249 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.6022, allocations: 39.97 kB / 0.7249 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.6066, allocations: 3.255 MB / 0.7281 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.607, allocations: 31.73 kB / 0.7282 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.6071, allocations: 11.98 kB / 0.7282 GB, free: 4.504 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.6073, allocations: 135 kB / 0.7283 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.6074, allocations: 19.81 kB / 0.7283 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.6087, allocations: 378.3 kB / 0.7287 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6087, allocations: 4 kB / 0.7287 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.6087, allocations: 0 / 0.7287 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6088, allocations: 0 / 0.7287 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.6092, allocations: 281.2 kB / 0.7289 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6092, allocations: 3.984 kB / 0.729 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.6093, allocations: 23.92 kB / 0.729 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008514/0.6102, allocations: 149.7 kB / 0.7291 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.6102, allocations: 0 / 0.7291 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/0.614, allocations: 3.304 MB / 0.7323 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.614, allocations: 0 / 0.7323 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.6154, allocations: 424.7 kB / 0.7327 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.6155, allocations: 120.8 kB / 0.7329 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.6155, allocations: 0 / 0.7329 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.6159, allocations: 16.11 kB / 0.7329 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.616, allocations: 19.97 kB / 0.7329 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.616, allocations: 8 kB / 0.7329 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002073/0.6162, allocations: 163.2 kB / 0.7331 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6162, allocations: 4 kB / 0.7331 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004741/0.6167, allocations: 71.84 kB / 0.7331 GB, free: 15.01 MB / 0.5762 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002249/0.6169, allocations: 115.2 kB / 0.7332 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.6181, allocations: 459.2 kB / 0.7337 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6181, allocations: 0 / 0.7337 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007399/0.6189, allocations: 361.2 kB / 0.734 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.6194, allocations: 55.12 kB / 0.7341 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.6205, allocations: 484.5 kB / 0.7345 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.6209, allocations: 0.7323 MB / 0.7353 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.6211, allocations: 45.91 kB / 0.7353 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.6212, allocations: 23.42 kB / 0.7353 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6212, allocations: 0 / 0.7353 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.01066/0.6319, allocations: 5.223 MB / 0.7404 GB, free: 7.508 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)