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.001378/0.001379, allocations: 104.3 kB / 16.94 MB, free: 5.801 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.00142/0.00142, allocations: 191.3 kB / 17.87 MB, free: 5.18 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.335/1.335, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7478/0.7478, allocations: 122.9 MB / 414.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 71.89 kB / 0.4917 GB, free: 7.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3442, allocations: 77.93 MB / 0.5678 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003094/0.3474, allocations: 1.905 MB / 0.5697 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1604/0.5078, allocations: 155.4 MB / 0.7215 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.508, allocations: 0 / 0.7215 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.5083, allocations: 35.66 kB / 0.7215 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.5087, allocations: 71.42 kB / 0.7216 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.5095, allocations: 259.2 kB / 0.7218 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.5099, allocations: 275 kB / 0.7221 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.5101, allocations: 60.39 kB / 0.7221 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.5115, allocations: 239 kB / 0.7224 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.5117, allocations: 91.59 kB / 0.7225 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.5117, allocations: 16 kB / 0.7225 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.5121, allocations: 183.7 kB / 0.7227 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.5122, allocations: 43.83 kB / 0.7227 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.5123, allocations: 95.52 kB / 0.7228 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.5128, allocations: 275.2 kB / 0.7231 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5128, allocations: 0 / 0.7231 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5128, allocations: 0 / 0.7231 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.5128, allocations: 0 / 0.7231 GB, free: 11.41 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.001038/0.5139, allocations: 0.5261 MB / 0.7236 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5139, allocations: 12.62 kB / 0.7236 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008888/0.5148, allocations: 91.62 kB / 0.7237 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.5151, allocations: 226.6 kB / 0.7239 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.562e-05/0.5152, allocations: 46.02 kB / 0.7239 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.5153, allocations: 15.94 kB / 0.7239 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.5158, allocations: 266.5 kB / 0.7242 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5159, allocations: 3.984 kB / 0.7242 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.5159, allocations: 4 kB / 0.7242 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5159, allocations: 4 kB / 0.7242 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.5164, allocations: 175.8 kB / 0.7244 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.5181, allocations: 1.18 MB / 0.7255 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/0.5189, allocations: 206.6 kB / 0.7257 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.5191, allocations: 76.81 kB / 0.7258 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.5191, allocations: 0 / 0.7258 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.5192, allocations: 30.56 kB / 0.7258 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.5192, allocations: 4 kB / 0.7258 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002692/0.5219, allocations: 0.6232 MB / 0.7264 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.5219, allocations: 51.41 kB / 0.7265 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.5222, allocations: 219 kB / 0.7267 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.5223, allocations: 29.7 kB / 0.7267 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.5223, allocations: 140 kB / 0.7269 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.5224, allocations: 43.44 kB / 0.7269 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.5225, allocations: 49.59 kB / 0.7269 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5226, allocations: 326.8 kB / 0.7273 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.5229, allocations: 75.94 kB / 0.7273 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.5232, allocations: 128.9 kB / 0.7275 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.5236, allocations: 202.8 kB / 0.7276 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5236, allocations: 0 / 0.7276 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00146/0.5251, allocations: 374.8 kB / 0.728 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5251, allocations: 9.875 kB / 0.728 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.984e-06/0.5251, allocations: 4 kB / 0.728 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.5262, allocations: 161.6 kB / 0.7282 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.5265, allocations: 39.91 kB / 0.7282 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.5307, allocations: 3.241 MB / 0.7314 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.5311, allocations: 39.69 kB / 0.7314 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.5311, allocations: 16.06 kB / 0.7314 GB, free: 2.16 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.0001424/0.5313, allocations: 130.4 kB / 0.7316 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.5313, allocations: 19.8 kB / 0.7316 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.5327, allocations: 372.4 kB / 0.7319 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5327, allocations: 3.984 kB / 0.7319 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.5327, allocations: 4 kB / 0.7319 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5327, allocations: 0 / 0.7319 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.5331, allocations: 289.2 kB / 0.7322 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5332, allocations: 11.94 kB / 0.7322 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.5333, allocations: 19.98 kB / 0.7322 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008369/0.5341, allocations: 137.6 kB / 0.7324 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.5342, allocations: 4 kB / 0.7324 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.538, allocations: 3.301 MB / 0.7356 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.538, allocations: 4 kB / 0.7356 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.5393, allocations: 434.3 kB / 0.736 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.5395, allocations: 108.8 kB / 0.7361 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.5395, allocations: 11.98 kB / 0.7361 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.5398, allocations: 15.98 kB / 0.7361 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.5399, allocations: 15.98 kB / 0.7362 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.5399, allocations: 8 kB / 0.7362 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001943/0.5401, allocations: 159.2 kB / 0.7363 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5401, allocations: 0 / 0.7363 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004272/0.5406, allocations: 79.83 kB / 0.7364 GB, free: 12.66 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.0002075/0.5408, allocations: 123.2 kB / 0.7365 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.5419, allocations: 445.5 kB / 0.7369 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5419, allocations: 7.938 kB / 0.7369 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.5426, allocations: 354.9 kB / 0.7373 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.5431, allocations: 52.45 kB / 0.7373 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.5442, allocations: 455.1 kB / 0.7378 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.5445, allocations: 0.7323 MB / 0.7385 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.5446, allocations: 23.42 kB / 0.7385 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5446, allocations: 0 / 0.7385 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.00726/0.5519, allocations: 4.41 MB / 0.7428 GB, free: 5.98 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)