Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP") [: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.001499/0.001499, allocations: 184.5 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5212/0.5212, allocations: 90.85 MB / 99.08 MB, free: 14.96 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.396/1.396, allocations: 221.4 MB / 342.8 MB, free: 5.262 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.0009991/0.000999, allocations: 97.2 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.797e-06/8.827e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.411, allocations: 72.3 MB / 0.5529 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.626/1.037, allocations: 388.6 MB / 0.9323 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/1.037, allocations: 89.47 kB / 0.9324 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.354/5.391, allocations: 1.307 GB / 2.24 GB, free: 65.27 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000236/5.392, allocations: 64.09 kB / 2.24 GB, free: 65.26 MB / 0.6667 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.005777/5.398, allocations: 2.65 MB / 2.242 GB, free: 64.03 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/5.398, allocations: 7.156 kB / 2.242 GB, free: 64.03 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00442/5.402, allocations: 0.9724 MB / 2.243 GB, free: 63.88 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/5.408, allocations: 2.599 MB / 2.246 GB, free: 63.37 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009002/5.408, allocations: 286.2 kB / 2.246 GB, free: 63.37 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/5.409, allocations: 99.84 kB / 2.246 GB, free: 63.36 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002343/5.411, allocations: 1.257 MB / 2.247 GB, free: 63.36 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/5.413, allocations: 1.503 MB / 2.249 GB, free: 63.13 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/5.414, allocations: 6 kB / 2.249 GB, free: 63.13 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/5.414, allocations: 3.438 kB / 2.249 GB, free: 63.13 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/5.414, allocations: 59.61 kB / 2.249 GB, free: 63.13 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/5.427, allocations: 9.04 MB / 2.258 GB, free: 58.88 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/5.429, allocations: 0.8264 MB / 2.259 GB, free: 58.83 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/5.429, allocations: 342.8 kB / 2.259 GB, free: 58.81 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008645/5.43, allocations: 1.569 MB / 2.26 GB, free: 57.03 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/5.43, allocations: 47.38 kB / 2.26 GB, free: 56.99 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=78): time 3.787e-06/5.43, allocations: 2.812 kB / 2.26 GB, free: 56.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.006785/5.437, allocations: 1.668 MB / 2.262 GB, free: 56.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/5.437, allocations: 92.11 kB / 2.262 GB, free: 56.72 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/5.44, allocations: 1.528 MB / 2.264 GB, free: 56.52 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001953/5.44, allocations: 29.45 kB / 2.264 GB, free: 56.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/5.44, allocations: 0.7078 MB / 2.264 GB, free: 56.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/5.44, allocations: 270 kB / 2.265 GB, free: 55.92 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/5.44, allocations: 0 / 2.265 GB, free: 55.92 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/5.441, allocations: 340.4 kB / 2.265 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/5.441, allocations: 344.5 kB / 2.265 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/5.442, allocations: 0.7444 MB / 2.266 GB, free: 55.14 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/5.443, allocations: 492.6 kB / 2.266 GB, free: 55.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/5.443, allocations: 7.281 kB / 2.266 GB, free: 55.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003046/5.446, allocations: 1.376 MB / 2.268 GB, free: 54.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/5.446, allocations: 6.062 kB / 2.268 GB, free: 54.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/5.446, allocations: 8.531 kB / 2.268 GB, free: 54.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/5.449, allocations: 0.7346 MB / 2.269 GB, free: 54.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/5.45, allocations: 244.8 kB / 2.269 GB, free: 54.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/5.452, allocations: 1.883 MB / 2.271 GB, free: 53.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/5.455, allocations: 375.7 kB / 2.271 GB, free: 53.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/5.455, allocations: 61.77 kB / 2.271 GB, free: 53.86 MB / 0.6667 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.0003223/5.456, allocations: 143 kB / 2.271 GB, free: 53.75 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/5.456, allocations: 198.9 kB / 2.271 GB, free: 53.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/5.462, allocations: 1.696 MB / 2.273 GB, free: 53.54 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/5.462, allocations: 18.69 kB / 2.273 GB, free: 53.54 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/5.462, allocations: 7.469 kB / 2.273 GB, free: 53.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/5.462, allocations: 3.703 kB / 2.273 GB, free: 53.54 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/5.468, allocations: 3.223 MB / 2.276 GB, free: 53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/5.468, allocations: 3.25 kB / 2.276 GB, free: 53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/5.468, allocations: 97.67 kB / 2.276 GB, free: 53 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/5.47, allocations: 0.7412 MB / 2.277 GB, free: 52.98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/5.471, allocations: 14.14 kB / 2.277 GB, free: 52.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/5.473, allocations: 1.899 MB / 2.279 GB, free: 51.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/5.473, allocations: 3.594 kB / 2.279 GB, free: 51.92 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004486/5.478, allocations: 1.91 MB / 2.281 GB, free: 51.14 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/5.479, allocations: 464.2 kB / 2.281 GB, free: 50.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/5.479, allocations: 13.53 kB / 2.281 GB, free: 50.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/5.481, allocations: 182.6 kB / 2.281 GB, free: 50.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/5.481, allocations: 60.52 kB / 2.281 GB, free: 50.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/5.481, allocations: 40.81 kB / 2.281 GB, free: 50.92 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001775/5.483, allocations: 1.157 MB / 2.283 GB, free: 50.77 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003086/5.486, allocations: 0.8253 MB / 2.283 GB, free: 50.64 MB / 0.6667 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.002168/5.488, allocations: 1.276 MB / 2.285 GB, free: 50.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002594/5.491, allocations: 1.039 MB / 2.286 GB, free: 50.26 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/5.491, allocations: 0 / 2.286 GB, free: 50.26 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/5.492, allocations: 0.5838 MB / 2.286 GB, free: 50.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/5.496, allocations: 0.7961 MB / 2.287 GB, free: 50.23 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/5.502, allocations: 2.583 MB / 2.29 GB, free: 49.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/5.503, allocations: 1.686 MB / 2.291 GB, free: 48.69 MB / 0.6667 GB Notification: Performance of SimCode: time 1.383e-06/5.503, allocations: 0 / 2.291 GB, free: 48.69 MB / 0.6667 GB Notification: Performance of Templates: time 0.0676/5.571, allocations: 41.57 MB / 2.332 GB, free: 45.66 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)