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.00108/0.00108, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.0009988/0.0009989, allocations: 196 kB / 17.98 MB, free: 5.031 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.27/1.27, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7032/0.7032, allocations: 115.1 MB / 406.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.86 kB / 494.8 MB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002575/0.3527, allocations: 1.909 MB / 0.5594 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1506/0.5033, allocations: 155.4 MB / 0.7112 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.5035, allocations: 0 / 0.7112 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.5037, allocations: 27.73 kB / 0.7112 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.504, allocations: 75.42 kB / 0.7113 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.5047, allocations: 263.1 kB / 0.7116 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.505, allocations: 263.1 kB / 0.7118 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.5051, allocations: 75.03 kB / 0.7119 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.5063, allocations: 237 kB / 0.7121 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.5064, allocations: 95.59 kB / 0.7122 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.5065, allocations: 12 kB / 0.7122 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.5068, allocations: 179.8 kB / 0.7124 GB, free: 5.531 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.5068, allocations: 39.89 kB / 0.7124 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.507, allocations: 99.45 kB / 0.7125 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.5074, allocations: 287 kB / 0.7128 GB, free: 5.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5074, allocations: 0 / 0.7128 GB, free: 5.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5074, allocations: 0 / 0.7128 GB, free: 5.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.5074, allocations: 0 / 0.7128 GB, free: 5.117 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009213/0.5083, allocations: 0.5261 MB / 0.7133 GB, free: 4.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.5084, allocations: 12.03 kB / 0.7133 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008033/0.5092, allocations: 83.67 kB / 0.7134 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.5094, allocations: 239.9 kB / 0.7136 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.5095, allocations: 38.03 kB / 0.7137 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.5096, allocations: 16 kB / 0.7137 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.51, allocations: 258.6 kB / 0.7139 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.5101, allocations: 0 / 0.7139 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.5101, allocations: 15.94 kB / 0.7139 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5101, allocations: 4 kB / 0.7139 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.5105, allocations: 171.7 kB / 0.7141 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.5121, allocations: 1.177 MB / 0.7153 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.5128, allocations: 206.6 kB / 0.7154 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.5129, allocations: 68.81 kB / 0.7155 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.513, allocations: 7.984 kB / 0.7155 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.513, allocations: 38.56 kB / 0.7156 GB, free: 2.059 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.513, allocations: 0 / 0.7156 GB, free: 2.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.002467/0.5155, allocations: 0.6228 MB / 0.7162 GB, free: 1.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.5155, allocations: 63.28 kB / 0.7162 GB, free: 1.312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.5158, allocations: 215 kB / 0.7164 GB, free: 1.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.5158, allocations: 25.7 kB / 0.7165 GB, free: 1.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.5159, allocations: 144 kB / 0.7166 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.5159, allocations: 39.45 kB / 0.7166 GB, free: 0.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/0.516, allocations: 49.59 kB / 0.7167 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5161, allocations: 330.8 kB / 0.717 GB, free: 500 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.5163, allocations: 67.94 kB / 0.7171 GB, free: 432 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.5166, allocations: 132.6 kB / 0.7172 GB, free: 272 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.517, allocations: 197.6 kB / 0.7174 GB, free: 52 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.517, allocations: 4 kB / 0.7174 GB, free: 48 kB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001337/0.5183, allocations: 366.9 kB / 0.7177 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5183, allocations: 12.03 kB / 0.7177 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5183, allocations: 0 / 0.7177 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.5194, allocations: 157.5 kB / 0.7179 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.5196, allocations: 51.91 kB / 0.7179 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/0.5231, allocations: 3.247 MB / 0.7211 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.5235, allocations: 39.81 kB / 0.7211 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.5235, allocations: 8 kB / 0.7212 GB, free: 11.88 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.0001182/0.5236, allocations: 141.6 kB / 0.7213 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.5237, allocations: 19.72 kB / 0.7213 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.5249, allocations: 372.2 kB / 0.7217 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5249, allocations: 4.188 kB / 0.7217 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.5249, allocations: 0 / 0.7217 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.5249, allocations: 11.97 kB / 0.7217 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.5252, allocations: 269.4 kB / 0.7219 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5252, allocations: 3.938 kB / 0.7219 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.5253, allocations: 23.98 kB / 0.722 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007632/0.5261, allocations: 141.6 kB / 0.7221 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.5261, allocations: 3.984 kB / 0.7221 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/0.5295, allocations: 3.296 MB / 0.7253 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5295, allocations: 0 / 0.7253 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5307, allocations: 434.6 kB / 0.7257 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5308, allocations: 120.8 kB / 0.7258 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.5309, allocations: 4 kB / 0.7259 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.5311, allocations: 19.92 kB / 0.7259 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.5312, allocations: 15.98 kB / 0.7259 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5312, allocations: 7.984 kB / 0.7259 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001599/0.5314, allocations: 168.2 kB / 0.7261 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5314, allocations: 4 kB / 0.7261 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000377/0.5318, allocations: 71.94 kB / 0.7261 GB, free: 6.371 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 (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.0001755/0.532, allocations: 103.2 kB / 0.7262 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009547/0.5329, allocations: 453.5 kB / 0.7267 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.533, allocations: 0 / 0.7267 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.5336, allocations: 367.5 kB / 0.727 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.534, allocations: 53.11 kB / 0.7271 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.5348, allocations: 427.1 kB / 0.7275 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5351, allocations: 0.7323 MB / 0.7282 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.5352, allocations: 37.98 kB / 0.7282 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.5353, allocations: 19.42 kB / 0.7282 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5353, allocations: 4 kB / 0.7282 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of Templates: time 0.008897/0.5442, allocations: 5.299 MB / 0.7334 GB, free: 14.87 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)