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.001464/0.001464, allocations: 105 kB / 16.52 MB, free: 6.27 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: 193.5 kB / 17.44 MB, free: 5.887 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7028/0.7028, allocations: 115.3 MB / 406.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3203, allocations: 76.17 MB / 0.5564 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002582/0.3229, allocations: 1.966 MB / 0.5583 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1434/0.4663, allocations: 153.1 MB / 0.7078 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.4665, allocations: 0 / 0.7078 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.4668, allocations: 27.78 kB / 0.7079 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.4671, allocations: 63.55 kB / 0.7079 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.4677, allocations: 229.7 kB / 0.7081 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.468, allocations: 263.1 kB / 0.7084 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.4682, allocations: 68.38 kB / 0.7085 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.4701, allocations: 231.2 kB / 0.7087 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.4703, allocations: 87.61 kB / 0.7088 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.4704, allocations: 8 kB / 0.7088 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.4707, allocations: 183.7 kB / 0.7089 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.4708, allocations: 43.89 kB / 0.709 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.4709, allocations: 83.52 kB / 0.7091 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.4712, allocations: 199.6 kB / 0.7093 GB, free: 7.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4712, allocations: 3.938 kB / 0.7093 GB, free: 7.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4712, allocations: 0 / 0.7093 GB, free: 7.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4712, allocations: 0 / 0.7093 GB, free: 7.645 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.001006/0.4723, allocations: 0.5184 MB / 0.7098 GB, free: 7.078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4723, allocations: 15.97 kB / 0.7098 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.4732, allocations: 87.72 kB / 0.7099 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.4735, allocations: 229.4 kB / 0.7101 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.4736, allocations: 42.03 kB / 0.7101 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.4736, allocations: 12 kB / 0.7101 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.4741, allocations: 266.6 kB / 0.7104 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.4742, allocations: 0 / 0.7104 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.4742, allocations: 4 kB / 0.7104 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4742, allocations: 8 kB / 0.7104 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.4747, allocations: 171.8 kB / 0.7106 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.4764, allocations: 1.169 MB / 0.7117 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/0.4772, allocations: 210.6 kB / 0.7119 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4774, allocations: 76.81 kB / 0.712 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4774, allocations: 0 / 0.712 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.4774, allocations: 30.56 kB / 0.712 GB, free: 4.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.4774, allocations: 0 / 0.712 GB, free: 4.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.002806/0.4803, allocations: 0.64 MB / 0.7126 GB, free: 3.922 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4803, allocations: 55.41 kB / 0.7127 GB, free: 3.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.4806, allocations: 211 kB / 0.7129 GB, free: 3.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.4806, allocations: 29.7 kB / 0.7129 GB, free: 3.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.4807, allocations: 140 kB / 0.713 GB, free: 3.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.4807, allocations: 39.45 kB / 0.7131 GB, free: 3.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.4808, allocations: 49.59 kB / 0.7131 GB, free: 3.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.481, allocations: 326.8 kB / 0.7134 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.4812, allocations: 75.94 kB / 0.7135 GB, free: 2.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.4815, allocations: 127.6 kB / 0.7136 GB, free: 2.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.4819, allocations: 205.6 kB / 0.7138 GB, free: 2.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4819, allocations: 4 kB / 0.7138 GB, free: 2.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001492/0.4834, allocations: 378.6 kB / 0.7142 GB, free: 2.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4834, allocations: 8 kB / 0.7142 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4834, allocations: 0 / 0.7142 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.4846, allocations: 161.8 kB / 0.7144 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.4848, allocations: 39.91 kB / 0.7144 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.4888, allocations: 3.025 MB / 0.7174 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.4892, allocations: 39.88 kB / 0.7174 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.4892, allocations: 4 kB / 0.7174 GB, free: 14.66 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.0001448/0.4893, allocations: 137.7 kB / 0.7175 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.4894, allocations: 23.75 kB / 0.7176 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.4908, allocations: 361.9 kB / 0.7179 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4908, allocations: 4 kB / 0.7179 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4908, allocations: 7.875 kB / 0.7179 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4908, allocations: 3.984 kB / 0.7179 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.4912, allocations: 277.4 kB / 0.7182 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.4912, allocations: 8 kB / 0.7182 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.4913, allocations: 23.92 kB / 0.7182 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009841/0.4923, allocations: 161.5 kB / 0.7184 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.4924, allocations: 4 kB / 0.7184 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/0.496, allocations: 3.068 MB / 0.7214 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.496, allocations: 7.922 kB / 0.7214 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.4973, allocations: 428.7 kB / 0.7218 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.4974, allocations: 116.7 kB / 0.7219 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.4974, allocations: 4.125 kB / 0.7219 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.4977, allocations: 23.98 kB / 0.7219 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.4978, allocations: 15.97 kB / 0.7219 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.4978, allocations: 8 kB / 0.7219 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001755/0.498, allocations: 160.2 kB / 0.7221 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.498, allocations: 4 kB / 0.7221 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003959/0.4984, allocations: 71.94 kB / 0.7222 GB, free: 9.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.000176/0.4986, allocations: 119.4 kB / 0.7223 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009791/0.4996, allocations: 443.4 kB / 0.7227 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4996, allocations: 0 / 0.7227 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.5003, allocations: 357.2 kB / 0.723 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.5007, allocations: 67.77 kB / 0.7231 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.5016, allocations: 0.5041 MB / 0.7236 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.5019, allocations: 0.7323 MB / 0.7243 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.502, allocations: 31.42 kB / 0.7243 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.502, allocations: 0 / 0.7243 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of Templates: time 0.006405/0.5084, allocations: 4.397 MB / 0.7286 GB, free: 2.652 MB / 0.5606 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)