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.001673/0.001673, allocations: 100.7 kB / 16.64 MB, free: 6.824 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.001745/0.001745, allocations: 185.9 kB / 17.56 MB, free: 5.938 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.376/1.376, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7995/0.7995, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.89 kB / 0.4943 GB, free: 4.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3217, allocations: 78.56 MB / 0.571 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002894/0.3246, allocations: 1.962 MB / 0.5729 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1622/0.4869, allocations: 153.2 MB / 0.7225 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.4871, allocations: 0 / 0.7225 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.4873, allocations: 27.78 kB / 0.7226 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.4876, allocations: 63.55 kB / 0.7226 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.4883, allocations: 246 kB / 0.7228 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.4887, allocations: 260.3 kB / 0.7231 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.4888, allocations: 68.31 kB / 0.7232 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.491, allocations: 251.2 kB / 0.7234 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.4911, allocations: 91.59 kB / 0.7235 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.4912, allocations: 16 kB / 0.7235 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.4915, allocations: 191.7 kB / 0.7237 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.4916, allocations: 39.84 kB / 0.7237 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.4917, allocations: 99.5 kB / 0.7238 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.492, allocations: 191.6 kB / 0.724 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.492, allocations: 8 kB / 0.724 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.492, allocations: 0 / 0.724 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4921, allocations: 0 / 0.724 GB, free: 10.61 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.4931, allocations: 0.5261 MB / 0.7245 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4931, allocations: 8.031 kB / 0.7245 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/0.494, allocations: 91.62 kB / 0.7246 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.4943, allocations: 229 kB / 0.7248 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/0.4944, allocations: 42.03 kB / 0.7249 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.4944, allocations: 19.94 kB / 0.7249 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.495, allocations: 262.6 kB / 0.7251 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.495, allocations: 3.938 kB / 0.7251 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.495, allocations: 8 kB / 0.7252 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4951, allocations: 4 kB / 0.7252 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.4955, allocations: 163.8 kB / 0.7253 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.4973, allocations: 1.173 MB / 0.7265 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.4981, allocations: 214.6 kB / 0.7267 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.4983, allocations: 68.81 kB / 0.7267 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.4983, allocations: 8 kB / 0.7267 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4983, allocations: 30.56 kB / 0.7268 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.4983, allocations: 0 / 0.7268 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002778/0.5011, allocations: 0.6258 MB / 0.7274 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.5012, allocations: 55.34 kB / 0.7274 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.5014, allocations: 211 kB / 0.7276 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.5015, allocations: 33.7 kB / 0.7277 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5016, allocations: 143.9 kB / 0.7278 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.5017, allocations: 43.39 kB / 0.7278 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.5018, allocations: 49.59 kB / 0.7279 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5019, allocations: 326.8 kB / 0.7282 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.5021, allocations: 71.94 kB / 0.7283 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.5024, allocations: 131.6 kB / 0.7284 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.5029, allocations: 201.7 kB / 0.7286 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5029, allocations: 0 / 0.7286 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00151/0.5044, allocations: 378.7 kB / 0.7289 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5044, allocations: 8.219 kB / 0.729 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.5044, allocations: 4 kB / 0.729 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.5056, allocations: 157.5 kB / 0.7291 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.5058, allocations: 39.91 kB / 0.7291 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/0.5103, allocations: 3.254 MB / 0.7323 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.5107, allocations: 35.73 kB / 0.7324 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.5108, allocations: 4 kB / 0.7324 GB, free: 1.375 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.0001808/0.511, allocations: 137.8 kB / 0.7325 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.511, allocations: 19.81 kB / 0.7325 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.5125, allocations: 374.3 kB / 0.7329 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5125, allocations: 0 / 0.7329 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.5125, allocations: 0 / 0.7329 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.5125, allocations: 3.984 kB / 0.7329 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.5128, allocations: 285.3 kB / 0.7331 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5129, allocations: 0 / 0.7331 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.513, allocations: 27.92 kB / 0.7332 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000878/0.5139, allocations: 137.5 kB / 0.7333 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.5139, allocations: 8 kB / 0.7333 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004093/0.518, allocations: 3.305 MB / 0.7365 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.5181, allocations: 3.984 kB / 0.7365 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.5195, allocations: 436.7 kB / 0.737 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.5196, allocations: 108.8 kB / 0.7371 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.5197, allocations: 4.188 kB / 0.7371 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.52, allocations: 15.98 kB / 0.7371 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.5201, allocations: 31.8 kB / 0.7371 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.5201, allocations: 8 kB / 0.7371 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001985/0.5203, allocations: 163.1 kB / 0.7373 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5203, allocations: 0 / 0.7373 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004395/0.5208, allocations: 71.94 kB / 0.7373 GB, free: 11.86 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.0002059/0.521, allocations: 115.2 kB / 0.7375 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.5221, allocations: 449.5 kB / 0.7379 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5221, allocations: 0 / 0.7379 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.5228, allocations: 367.3 kB / 0.7382 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.5233, allocations: 55.95 kB / 0.7383 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.5243, allocations: 0.5051 MB / 0.7388 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.5247, allocations: 0.7324 MB / 0.7395 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.5248, allocations: 23.42 kB / 0.7395 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.5248, allocations: 0 / 0.7395 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of Templates: time 0.007319/0.5321, allocations: 4.419 MB / 0.7438 GB, free: 5.121 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)