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.001325/0.001326, allocations: 112.2 kB / 17.03 MB, free: 5.656 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.001506/0.001507, allocations: 192.6 kB / 17.97 MB, free: 5.062 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.727/0.727, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 59.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3374, allocations: 76.15 MB / 0.5576 GB, free: 36.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002598/0.3401, allocations: 1.894 MB / 0.5594 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1508/0.4908, allocations: 155.4 MB / 0.7112 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.4911, allocations: 4 kB / 0.7112 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.4913, allocations: 27.72 kB / 0.7112 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.4916, allocations: 71.42 kB / 0.7113 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.4922, allocations: 267.1 kB / 0.7115 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.4925, allocations: 255.2 kB / 0.7118 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.4926, allocations: 76.17 kB / 0.7119 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.4938, allocations: 234.3 kB / 0.7121 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.494, allocations: 99.53 kB / 0.7122 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.494, allocations: 19.94 kB / 0.7122 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.4943, allocations: 183.8 kB / 0.7124 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.4944, allocations: 43.84 kB / 0.7124 GB, free: 5.465 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.4945, allocations: 95.5 kB / 0.7125 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.4949, allocations: 283 kB / 0.7128 GB, free: 5.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4949, allocations: 0 / 0.7128 GB, free: 5.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.41e-07/0.4949, allocations: 0 / 0.7128 GB, free: 5.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4949, allocations: 0 / 0.7128 GB, free: 5.098 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.000907/0.4958, allocations: 0.53 MB / 0.7133 GB, free: 4.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.4959, allocations: 8.031 kB / 0.7133 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008346/0.4967, allocations: 83.73 kB / 0.7134 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.497, allocations: 235.9 kB / 0.7136 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.07e-05/0.4971, allocations: 42.02 kB / 0.7137 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.4971, allocations: 19.98 kB / 0.7137 GB, free: 4.094 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.4976, allocations: 266.5 kB / 0.7139 GB, free: 3.805 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4976, allocations: 3.938 kB / 0.7139 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.4977, allocations: 8 kB / 0.7139 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4977, allocations: 4 kB / 0.7139 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.4981, allocations: 167.8 kB / 0.7141 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.4998, allocations: 1.173 MB / 0.7152 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.5005, allocations: 214.6 kB / 0.7154 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.5007, allocations: 72.81 kB / 0.7155 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.5008, allocations: 4 kB / 0.7155 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.5008, allocations: 38.5 kB / 0.7156 GB, free: 2.031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.5008, allocations: 0 / 0.7156 GB, free: 2.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.002663/0.5035, allocations: 0.6272 MB / 0.7162 GB, free: 1.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.5035, allocations: 55.41 kB / 0.7162 GB, free: 1.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.5038, allocations: 211 kB / 0.7164 GB, free: 1.074 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.5038, allocations: 29.7 kB / 0.7165 GB, free: 1.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.5039, allocations: 144 kB / 0.7166 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.5039, allocations: 35.45 kB / 0.7166 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.504, allocations: 49.59 kB / 0.7167 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5042, allocations: 330.8 kB / 0.717 GB, free: 480 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.5044, allocations: 71.94 kB / 0.7171 GB, free: 408 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.5046, allocations: 132.2 kB / 0.7172 GB, free: 248 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.505, allocations: 209.9 kB / 0.7174 GB, free: 16 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5051, allocations: 0 / 0.7174 GB, free: 16 kB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001432/0.5065, allocations: 374.7 kB / 0.7177 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5065, allocations: 4 kB / 0.7177 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5065, allocations: 7.938 kB / 0.7178 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.5076, allocations: 161.8 kB / 0.7179 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.5079, allocations: 35.91 kB / 0.7179 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003889/0.5118, allocations: 3.247 MB / 0.7211 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.5121, allocations: 39.75 kB / 0.7211 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.5122, allocations: 4 kB / 0.7212 GB, free: 11.85 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.0001204/0.5123, allocations: 129.8 kB / 0.7213 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.5123, allocations: 27.7 kB / 0.7213 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.5136, allocations: 372.2 kB / 0.7217 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5136, allocations: 8 kB / 0.7217 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.5136, allocations: 0 / 0.7217 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5137, allocations: 0 / 0.7217 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.514, allocations: 277.4 kB / 0.7219 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.514, allocations: 4 kB / 0.7219 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.5141, allocations: 19.98 kB / 0.722 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.5149, allocations: 133.6 kB / 0.7221 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.515, allocations: 12 kB / 0.7221 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/0.5185, allocations: 3.292 MB / 0.7253 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5185, allocations: 0 / 0.7253 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.5197, allocations: 437.9 kB / 0.7257 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.5198, allocations: 112.8 kB / 0.7258 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.5199, allocations: 7.984 kB / 0.7258 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.5202, allocations: 11.98 kB / 0.7258 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.5202, allocations: 19.92 kB / 0.7259 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5203, allocations: 4 kB / 0.7259 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001845/0.5205, allocations: 176.2 kB / 0.726 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5205, allocations: 3.938 kB / 0.726 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004048/0.5209, allocations: 75.92 kB / 0.7261 GB, free: 6.352 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.0001696/0.5211, allocations: 104.2 kB / 0.7262 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009764/0.522, allocations: 451.8 kB / 0.7266 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5221, allocations: 4.312 kB / 0.7267 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006342/0.5227, allocations: 363.5 kB / 0.727 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.5231, allocations: 59.2 kB / 0.7271 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.524, allocations: 420.5 kB / 0.7275 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.5243, allocations: 0.7363 MB / 0.7282 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.5244, allocations: 33.94 kB / 0.7282 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.5245, allocations: 27.36 kB / 0.7282 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/0.5245, allocations: 0 / 0.7282 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of Templates: time 0.009138/0.5336, allocations: 5.312 MB / 0.7334 GB, free: 14.84 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)