Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 191 kB / 7.807 MB, free: 2.469 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.452/0.452, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.4 MB / 342.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 98.78 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.905e-06, allocations: 0 / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4065, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6729/1.079, allocations: 388.7 MB / 0.9325 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.08, allocations: 84.77 kB / 0.9326 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.297/5.376, allocations: 1.307 GB / 2.24 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004014/5.377, allocations: 70.06 kB / 2.24 GB, free: 53.61 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007871/5.385, allocations: 2.648 MB / 2.242 GB, free: 52.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/5.385, allocations: 13 kB / 2.242 GB, free: 52.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006612/5.392, allocations: 0.968 MB / 2.243 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009353/5.401, allocations: 2.599 MB / 2.246 GB, free: 51.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001104/5.402, allocations: 279.4 kB / 2.246 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007303/5.403, allocations: 102 kB / 2.246 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004319/5.407, allocations: 1.259 MB / 2.248 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/5.411, allocations: 1.509 MB / 2.249 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.778e-05/5.411, allocations: 3.562 kB / 2.249 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/5.412, allocations: 3.312 kB / 2.249 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-05/5.412, allocations: 63.92 kB / 2.249 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/5.428, allocations: 9.069 MB / 2.258 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/5.43, allocations: 0.8304 MB / 2.259 GB, free: 47.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/5.43, allocations: 348.4 kB / 2.259 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008606/5.431, allocations: 1.566 MB / 2.261 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/5.431, allocations: 40.88 kB / 2.261 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.397e-06/5.431, allocations: 0 / 2.261 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.007054/5.438, allocations: 1.68 MB / 2.262 GB, free: 45.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/5.438, allocations: 88.73 kB / 2.262 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/5.441, allocations: 1.554 MB / 2.264 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003017/5.441, allocations: 27.23 kB / 2.264 GB, free: 44.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/5.442, allocations: 0.7069 MB / 2.265 GB, free: 44.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/5.442, allocations: 266.2 kB / 2.265 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/5.442, allocations: 1.25 kB / 2.265 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/5.442, allocations: 341.3 kB / 2.265 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/5.443, allocations: 343 kB / 2.266 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000861/5.444, allocations: 0.7492 MB / 2.266 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/5.445, allocations: 499 kB / 2.267 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/5.445, allocations: 7.219 kB / 2.267 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003062/5.448, allocations: 1.372 MB / 2.268 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/5.448, allocations: 9 kB / 2.268 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/5.448, allocations: 11.55 kB / 2.268 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/5.451, allocations: 0.8589 MB / 2.269 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/5.452, allocations: 240.3 kB / 2.269 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/5.455, allocations: 1.887 MB / 2.271 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/5.458, allocations: 379.2 kB / 2.271 GB, free: 42.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/5.458, allocations: 63.75 kB / 2.271 GB, free: 42.1 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_TEva.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_y.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003135/5.459, allocations: 142.6 kB / 2.272 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/5.459, allocations: 197.1 kB / 2.272 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/5.465, allocations: 1.7 MB / 2.273 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/5.465, allocations: 16.12 kB / 2.273 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/5.465, allocations: 0 / 2.273 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/5.465, allocations: 4.594 kB / 2.273 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006804/5.472, allocations: 3.251 MB / 2.277 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/5.472, allocations: 0 / 2.277 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/5.472, allocations: 91.28 kB / 2.277 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/5.475, allocations: 0.8626 MB / 2.278 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/5.475, allocations: 13.56 kB / 2.278 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/5.477, allocations: 1.899 MB / 2.279 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/5.477, allocations: 16.72 kB / 2.279 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004585/5.482, allocations: 1.911 MB / 2.281 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/5.483, allocations: 474 kB / 2.282 GB, free: 39.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/5.483, allocations: 3.625 kB / 2.282 GB, free: 39.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/5.485, allocations: 185.8 kB / 2.282 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/5.485, allocations: 58.62 kB / 2.282 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/5.485, allocations: 42.8 kB / 2.282 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001711/5.487, allocations: 1.182 MB / 2.283 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002745/5.49, allocations: 0.8284 MB / 2.284 GB, free: 38.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/5.492, allocations: 1.283 MB / 2.285 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002547/5.494, allocations: 1.027 MB / 2.286 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/5.494, allocations: 0 / 2.286 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/5.496, allocations: 0.5879 MB / 2.287 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/5.5, allocations: 0.7964 MB / 2.288 GB, free: 38.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/5.506, allocations: 2.6 MB / 2.29 GB, free: 37.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/5.507, allocations: 1.693 MB / 2.292 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/5.507, allocations: 0 / 2.292 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.06213/5.569, allocations: 41.71 MB / 2.333 GB, free: 22.12 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)