Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.543/1.543, allocations: 289.8 MB / 297.1 MB, free: 6.594 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 179.7 kB / 366.3 MB, free: 1.926 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 0.6256 GB, free: 5.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009945/0.0009942, allocations: 77.55 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.217e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7939, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.102/5.896, allocations: 2.375 GB / 3.348 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/5.896, allocations: 100.8 kB / 3.348 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.613/9.509, allocations: 1.045 GB / 4.393 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000259/9.51, allocations: 74.52 kB / 4.393 GB, free: 137.6 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.00834/9.518, allocations: 2.82 MB / 4.395 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/9.518, allocations: 11.28 kB / 4.395 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007864/9.526, allocations: 1.087 MB / 4.396 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006495/9.532, allocations: 2.1 MB / 4.398 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/9.533, allocations: 156.8 kB / 4.399 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/9.533, allocations: 112.2 kB / 4.399 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004023/9.537, allocations: 2.193 MB / 4.401 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/9.54, allocations: 1.92 MB / 4.403 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/9.54, allocations: 0 / 4.403 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/9.541, allocations: 3.75 kB / 4.403 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/9.541, allocations: 69.5 kB / 4.403 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/9.555, allocations: 8.822 MB / 4.411 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/9.557, allocations: 1.534 MB / 4.413 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/9.558, allocations: 0.8249 MB / 4.414 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007764/9.559, allocations: 0.9677 MB / 4.415 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001423/9.56, allocations: 0.9988 MB / 4.416 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=159): time 4.328e-06/9.56, allocations: 3.688 kB / 4.416 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159): time 0.004303/9.564, allocations: 1.762 MB / 4.417 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/9.565, allocations: 301.7 kB / 4.418 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/9.567, allocations: 1.423 MB / 4.419 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002532/9.567, allocations: 32.95 kB / 4.419 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/9.568, allocations: 0.6746 MB / 4.42 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005144/9.568, allocations: 0.4999 MB / 4.42 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/9.568, allocations: 5.938 kB / 4.42 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001112/9.569, allocations: 367.2 kB / 4.421 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/9.57, allocations: 0.6161 MB / 4.421 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/9.571, allocations: 0.9773 MB / 4.422 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/9.573, allocations: 0.7433 MB / 4.423 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/9.573, allocations: 1.969 kB / 4.423 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003939/9.577, allocations: 1.829 MB / 4.425 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002871/9.577, allocations: 1.119 MB / 4.426 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/9.577, allocations: 2.562 kB / 4.426 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/9.578, allocations: 87.94 kB / 4.426 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/9.58, allocations: 466.8 kB / 4.426 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/9.583, allocations: 2.07 MB / 4.428 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004189/9.587, allocations: 290.5 kB / 4.429 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/9.587, allocations: 71.88 kB / 4.429 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/9.587, allocations: 2.875 kB / 4.429 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003601/9.591, allocations: 1.592 MB / 4.43 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/9.591, allocations: 2.594 kB / 4.43 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/9.591, allocations: 86.92 kB / 4.43 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/9.594, allocations: 457.9 kB / 4.431 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/9.595, allocations: 1.478 MB / 4.432 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/9.598, allocations: 283.9 kB / 4.432 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/9.599, allocations: 74.12 kB / 4.433 GB, free: 122.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005834/9.599, allocations: 136.1 kB / 4.433 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004876/9.6, allocations: 224.3 kB / 4.433 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/9.605, allocations: 2.162 MB / 4.435 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/9.605, allocations: 14.22 kB / 4.435 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/9.605, allocations: 2.812 kB / 4.435 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003207/9.608, allocations: 1.904 MB / 4.437 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008896/9.617, allocations: 4.794 MB / 4.442 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/9.617, allocations: 5.781 kB / 4.442 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/9.619, allocations: 464.1 kB / 4.442 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/9.62, allocations: 99.67 kB / 4.442 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/9.62, allocations: 35.41 kB / 4.442 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/9.622, allocations: 2.089 MB / 4.444 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/9.622, allocations: 5.812 kB / 4.444 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00567/9.627, allocations: 3.427 MB / 4.447 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/9.629, allocations: 0.6727 MB / 4.448 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/9.629, allocations: 13.36 kB / 4.448 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/9.632, allocations: 242.8 kB / 4.448 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/9.632, allocations: 114.2 kB / 4.449 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/9.632, allocations: 89.06 kB / 4.449 GB, free: 114 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001727/9.634, allocations: 1.08 MB / 4.45 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004203/9.638, allocations: 1.402 MB / 4.451 GB, free: 113.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004197/9.642, allocations: 2.67 MB / 4.454 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005198/9.647, allocations: 2.799 MB / 4.456 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/9.647, allocations: 3.5 kB / 4.456 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/9.649, allocations: 1.046 MB / 4.457 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004935/9.654, allocations: 0.9255 MB / 4.458 GB, free: 109 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008772/9.663, allocations: 3.813 MB / 4.462 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/9.665, allocations: 1.971 MB / 4.464 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of SimCode: time 8.71e-07/9.665, allocations: 4 kB / 4.464 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.1008/9.766, allocations: 65.67 MB / 4.528 GB, free: 41.06 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)