Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") [: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.0.1-maint.8.0.x/package.mo): time 1.488/1.488, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001174/0.001175, allocations: 189.3 kB / 361.1 MB, free: 7.062 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.635/1.635, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0009246/0.0009247, allocations: 97.23 kB / 0.7326 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.659e-06, allocations: 4 kB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7715/0.7715, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.785, allocations: 416.5 MB / 1.37 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.785, allocations: 85.98 kB / 1.37 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.469/4.255, allocations: 0.6235 GB / 1.994 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001575/4.255, allocations: 53.03 kB / 1.994 GB, free: 138.5 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003723/4.259, allocations: 1.782 MB / 1.996 GB, free: 138 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/4.259, allocations: 10.66 kB / 1.996 GB, free: 138 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/4.262, allocations: 0.6847 MB / 1.996 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/4.266, allocations: 1.656 MB / 1.998 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/4.266, allocations: 110.2 kB / 1.998 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/4.267, allocations: 75.83 kB / 1.998 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/4.268, allocations: 0.9446 MB / 1.999 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/4.27, allocations: 1.005 MB / 2 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/4.27, allocations: 3.875 kB / 2 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/4.27, allocations: 0 / 2 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/4.27, allocations: 26.41 kB / 2 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007529/4.277, allocations: 5.7 MB / 2.006 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/4.279, allocations: 0.6602 MB / 2.006 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/4.279, allocations: 451.4 kB / 2.007 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007832/4.28, allocations: 1.243 MB / 2.008 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00073/4.281, allocations: 0.5311 MB / 2.008 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 2.845e-06/4.281, allocations: 0 / 2.008 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.002146/4.283, allocations: 0.9362 MB / 2.009 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/4.283, allocations: 114.4 kB / 2.01 GB, free: 133 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/4.284, allocations: 1.049 MB / 2.011 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.06e-05/4.285, allocations: 29.58 kB / 2.011 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/4.285, allocations: 443.1 kB / 2.011 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/4.285, allocations: 218 kB / 2.011 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/4.285, allocations: 0.5625 kB / 2.011 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/4.285, allocations: 335.5 kB / 2.012 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/4.286, allocations: 360.8 kB / 2.012 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/4.286, allocations: 0.6083 MB / 2.012 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/4.287, allocations: 450.8 kB / 2.013 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/4.287, allocations: 0 / 2.013 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001953/4.289, allocations: 1.046 MB / 2.014 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002642/4.29, allocations: 1.164 MB / 2.015 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/4.29, allocations: 3.438 kB / 2.015 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/4.29, allocations: 11.22 kB / 2.015 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/4.291, allocations: 291.6 kB / 2.015 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/4.291, allocations: 10.5 kB / 2.015 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/4.293, allocations: 216.3 kB / 2.016 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/4.293, allocations: 48.05 kB / 2.016 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/4.293, allocations: 3.906 kB / 2.016 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001743/4.295, allocations: 0.8634 MB / 2.016 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/4.295, allocations: 6.531 kB / 2.016 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/4.295, allocations: 3.875 kB / 2.016 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/4.296, allocations: 285.8 kB / 2.017 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/4.296, allocations: 20.11 kB / 2.017 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/4.298, allocations: 209.7 kB / 2.017 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/4.298, allocations: 45.59 kB / 2.017 GB, free: 130.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002702/4.298, allocations: 129.6 kB / 2.017 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/4.299, allocations: 143.2 kB / 2.017 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/4.301, allocations: 1.157 MB / 2.018 GB, free: 130.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/4.301, allocations: 10.03 kB / 2.018 GB, free: 130.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/4.301, allocations: 0 / 2.018 GB, free: 130.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/4.303, allocations: 0.9525 MB / 2.019 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004961/4.308, allocations: 3.023 MB / 2.022 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/4.308, allocations: 3.656 kB / 2.022 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/4.309, allocations: 253.9 kB / 2.023 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/4.309, allocations: 7.594 kB / 2.023 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/4.309, allocations: 24.69 kB / 2.023 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/4.309, allocations: 8.562 kB / 2.023 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/4.309, allocations: 16.69 kB / 2.023 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002882/4.312, allocations: 2.09 MB / 2.025 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008228/4.313, allocations: 473.7 kB / 2.025 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/4.313, allocations: 7.75 kB / 2.025 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/4.314, allocations: 171.3 kB / 2.025 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/4.315, allocations: 72.83 kB / 2.025 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/4.315, allocations: 50.78 kB / 2.025 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001088/4.316, allocations: 0.7948 MB / 2.026 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002513/4.318, allocations: 0.8437 MB / 2.027 GB, free: 128.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/4.32, allocations: 0.8111 MB / 2.028 GB, free: 128 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0022/4.322, allocations: 1.39 MB / 2.029 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.322, allocations: 0 / 2.029 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007959/4.323, allocations: 0.5065 MB / 2.03 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/4.326, allocations: 0.6122 MB / 2.03 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/4.33, allocations: 2.093 MB / 2.032 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/4.331, allocations: 1.433 MB / 2.034 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/4.331, allocations: 0 / 2.034 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.05763/4.389, allocations: 35.84 MB / 2.069 GB, free: 125.9 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)