Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") [: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.001143/0.001143, allocations: 190.3 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4482/0.4482, allocations: 90.86 MB / 99.08 MB, free: 14.92 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.204/1.204, 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.0009417/0.0009416, allocations: 95.84 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.277e-06/9.508e-06, allocations: 4 kB / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.366, allocations: 72.3 MB / 0.5529 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6438/1.01, allocations: 376.3 MB / 0.9203 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/1.01, allocations: 90.58 kB / 0.9204 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.005/3.015, allocations: 0.5442 GB / 1.465 GB, free: 72.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002194/3.016, allocations: 44.47 kB / 1.465 GB, free: 72.36 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004642/3.02, allocations: 1.737 MB / 1.466 GB, free: 71.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/3.02, allocations: 9.906 kB / 1.466 GB, free: 71.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/3.022, allocations: 240 kB / 1.467 GB, free: 71.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/3.025, allocations: 1.722 MB / 1.468 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/3.025, allocations: 29.56 kB / 1.468 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/3.026, allocations: 59.84 kB / 1.468 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001334/3.027, allocations: 0.6982 MB / 1.469 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/3.028, allocations: 0.8851 MB / 1.47 GB, free: 71.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/3.028, allocations: 9.781 kB / 1.47 GB, free: 71.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/3.029, allocations: 3 kB / 1.47 GB, free: 71.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/3.029, allocations: 39.44 kB / 1.47 GB, free: 71.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0064/3.035, allocations: 5.091 MB / 1.475 GB, free: 68.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/3.036, allocations: 465.7 kB / 1.475 GB, free: 68.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/3.036, allocations: 247.7 kB / 1.476 GB, free: 68.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/3.037, allocations: 0.8299 MB / 1.476 GB, free: 67.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/3.037, allocations: 37.88 kB / 1.476 GB, free: 67.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.715e-06/3.037, allocations: 3.094 kB / 1.476 GB, free: 67.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.004283/3.041, allocations: 1.036 MB / 1.477 GB, free: 67.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/3.041, allocations: 59.5 kB / 1.478 GB, free: 67.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/3.042, allocations: 0.8874 MB / 1.478 GB, free: 67.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/3.042, allocations: 25.7 kB / 1.478 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/3.043, allocations: 453.5 kB / 1.479 GB, free: 67.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/3.043, allocations: 195.1 kB / 1.479 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/3.043, allocations: 0 / 1.479 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/3.043, allocations: 331.7 kB / 1.479 GB, free: 66.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/3.043, allocations: 193.9 kB / 1.48 GB, free: 66.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/3.043, allocations: 420.5 kB / 1.48 GB, free: 66.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/3.044, allocations: 289 kB / 1.48 GB, free: 66.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/3.044, allocations: 1.875 kB / 1.48 GB, free: 66.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00416/3.048, allocations: 1.169 MB / 1.481 GB, free: 66.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002536/3.048, allocations: 1.407 MB / 1.483 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/3.049, allocations: 3.781 kB / 1.483 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004117/3.049, allocations: 110.2 kB / 1.483 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/3.05, allocations: 165.4 kB / 1.483 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/3.051, allocations: 0.7851 MB / 1.484 GB, free: 64.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/3.052, allocations: 125.9 kB / 1.484 GB, free: 64.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/3.052, allocations: 39.33 kB / 1.484 GB, free: 64.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/3.052, allocations: 4.406 kB / 1.484 GB, free: 64.55 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003908/3.056, allocations: 1.019 MB / 1.485 GB, free: 64.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/3.056, allocations: 3.562 kB / 1.485 GB, free: 64.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/3.056, allocations: 107.5 kB / 1.485 GB, free: 64.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/3.057, allocations: 168.8 kB / 1.485 GB, free: 64.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/3.058, allocations: 0.7832 MB / 1.486 GB, free: 64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/3.059, allocations: 114.4 kB / 1.486 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/3.059, allocations: 35.78 kB / 1.486 GB, free: 63.97 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002331/3.059, allocations: 125.7 kB / 1.486 GB, free: 63.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/3.06, allocations: 121.4 kB / 1.486 GB, free: 63.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/3.064, allocations: 1.166 MB / 1.487 GB, free: 63.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/3.064, allocations: 17.81 kB / 1.487 GB, free: 63.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/3.064, allocations: 6.062 kB / 1.488 GB, free: 63.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003833/3.068, allocations: 1.066 MB / 1.489 GB, free: 63.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/3.074, allocations: 2.364 MB / 1.491 GB, free: 63.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/3.074, allocations: 3.875 kB / 1.491 GB, free: 63.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/3.075, allocations: 127.2 kB / 1.491 GB, free: 63.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/3.075, allocations: 106.2 kB / 1.491 GB, free: 63.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/3.075, allocations: 10.91 kB / 1.491 GB, free: 63.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/3.079, allocations: 2.083 MB / 1.493 GB, free: 61.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/3.079, allocations: 6.844 kB / 1.493 GB, free: 61.84 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004452/3.083, allocations: 1.735 MB / 1.495 GB, free: 61.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/3.084, allocations: 308.6 kB / 1.495 GB, free: 61.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/3.084, allocations: 10.19 kB / 1.495 GB, free: 61.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/3.085, allocations: 70.55 kB / 1.495 GB, free: 61.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/3.085, allocations: 44.89 kB / 1.495 GB, free: 61.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/3.085, allocations: 28.72 kB / 1.495 GB, free: 61.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0008382/3.086, allocations: 0.6833 MB / 1.496 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002116/3.088, allocations: 0.785 MB / 1.497 GB, free: 60.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/3.089, allocations: 0.744 MB / 1.497 GB, free: 60.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002432/3.092, allocations: 1.053 MB / 1.498 GB, free: 60.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/3.092, allocations: 3.594 kB / 1.498 GB, free: 60.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/3.093, allocations: 494.3 kB / 1.499 GB, free: 60.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/3.095, allocations: 0.543 MB / 1.499 GB, free: 60.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/3.098, allocations: 1.743 MB / 1.501 GB, free: 60.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/3.099, allocations: 1.306 MB / 1.502 GB, free: 59.33 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/3.099, allocations: 3.75 kB / 1.502 GB, free: 59.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.04317/3.142, allocations: 30.08 MB / 1.532 GB, free: 57.86 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)