Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") [: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.55/1.55, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001285/0.001285, allocations: 181.2 kB / 366.3 MB, free: 1.914 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.639/1.639, allocations: 205.1 MB / 0.6256 GB, free: 5.758 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.0009892/0.0009893, allocations: 84.08 kB / 0.7395 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.174e-05, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7899, allocations: 116.3 MB / 0.9725 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.833, allocations: 417.4 MB / 1.38 GB, free: 66.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/1.834, allocations: 92.58 kB / 1.38 GB, free: 66.95 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.392/4.226, allocations: 0.6229 GB / 2.003 GB, free: 180 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001403/4.226, allocations: 45.2 kB / 2.003 GB, free: 180 MB / 0.948 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.003409/4.229, allocations: 1.765 MB / 2.005 GB, free: 179.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/4.23, allocations: 10.28 kB / 2.005 GB, free: 179.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/4.233, allocations: 0.6764 MB / 2.006 GB, free: 179.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/4.236, allocations: 1.654 MB / 2.007 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/4.237, allocations: 107.4 kB / 2.007 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/4.237, allocations: 62.47 kB / 2.007 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001628/4.238, allocations: 0.9183 MB / 2.008 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/4.24, allocations: 0.9957 MB / 2.009 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/4.24, allocations: 0 / 2.009 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/4.24, allocations: 3.719 kB / 2.009 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/4.24, allocations: 28.44 kB / 2.009 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008105/4.248, allocations: 5.646 MB / 2.015 GB, free: 176.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/4.249, allocations: 0.6378 MB / 2.015 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/4.25, allocations: 432.5 kB / 2.016 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/4.251, allocations: 1.245 MB / 2.017 GB, free: 174.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006916/4.251, allocations: 0.5219 MB / 2.018 GB, free: 174.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 2.996e-06/4.251, allocations: 0 / 2.018 GB, free: 174.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.002083/4.254, allocations: 0.8997 MB / 2.018 GB, free: 174.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/4.254, allocations: 111.3 kB / 2.019 GB, free: 174.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/4.255, allocations: 0.996 MB / 2.02 GB, free: 174.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-05/4.255, allocations: 29.55 kB / 2.02 GB, free: 174.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/4.255, allocations: 448.7 kB / 2.02 GB, free: 173.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/4.255, allocations: 223 kB / 2.02 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/4.256, allocations: 0 / 2.02 GB, free: 173.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/4.256, allocations: 339 kB / 2.021 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/4.256, allocations: 342.1 kB / 2.021 GB, free: 173.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/4.257, allocations: 0.595 MB / 2.021 GB, free: 173.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008813/4.258, allocations: 416 kB / 2.022 GB, free: 173.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/4.258, allocations: 3.906 kB / 2.022 GB, free: 173.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001788/4.259, allocations: 0.995 MB / 2.023 GB, free: 173.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/4.26, allocations: 1.163 MB / 2.024 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/4.26, allocations: 3.938 kB / 2.024 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/4.26, allocations: 7.719 kB / 2.024 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/4.261, allocations: 288 kB / 2.024 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/4.261, allocations: 8.781 kB / 2.024 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/4.263, allocations: 216.3 kB / 2.024 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/4.263, allocations: 48.23 kB / 2.024 GB, free: 171.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/4.263, allocations: 3.625 kB / 2.024 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001554/4.265, allocations: 0.8299 MB / 2.025 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/4.265, allocations: 7.594 kB / 2.025 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/4.265, allocations: 3.875 kB / 2.025 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/4.266, allocations: 293.8 kB / 2.026 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/4.266, allocations: 3.875 kB / 2.026 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/4.268, allocations: 217.5 kB / 2.026 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/4.268, allocations: 46.03 kB / 2.026 GB, free: 171.9 MB / 0.948 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.0002612/4.268, allocations: 123.6 kB / 2.026 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/4.268, allocations: 137.5 kB / 2.026 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/4.271, allocations: 1.112 MB / 2.027 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/4.271, allocations: 7.312 kB / 2.027 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/4.271, allocations: 0 / 2.027 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001394/4.272, allocations: 0.9118 MB / 2.028 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/4.277, allocations: 2.938 MB / 2.031 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/4.277, allocations: 6.312 kB / 2.031 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/4.278, allocations: 253.2 kB / 2.031 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/4.278, allocations: 7.031 kB / 2.031 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/4.278, allocations: 22.31 kB / 2.031 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/4.278, allocations: 10.19 kB / 2.031 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/4.278, allocations: 9 kB / 2.031 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00266/4.281, allocations: 2.02 MB / 2.033 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/4.282, allocations: 467.5 kB / 2.034 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/4.282, allocations: 10.92 kB / 2.034 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/4.283, allocations: 175.7 kB / 2.034 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/4.283, allocations: 71.42 kB / 2.034 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/4.283, allocations: 53.44 kB / 2.034 GB, free: 169.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001037/4.284, allocations: 0.7536 MB / 2.035 GB, free: 169.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002397/4.287, allocations: 0.8337 MB / 2.036 GB, free: 169.4 MB / 0.948 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.001431/4.288, allocations: 0.799 MB / 2.036 GB, free: 169.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002131/4.29, allocations: 1.37 MB / 2.038 GB, free: 169.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/4.29, allocations: 0 / 2.038 GB, free: 169.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008089/4.291, allocations: 0.5019 MB / 2.038 GB, free: 169.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/4.294, allocations: 0.6118 MB / 2.039 GB, free: 169.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/4.299, allocations: 2.035 MB / 2.041 GB, free: 168.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/4.3, allocations: 1.423 MB / 2.042 GB, free: 167.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/4.3, allocations: 0 / 2.042 GB, free: 167.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05559/4.355, allocations: 35.48 MB / 2.077 GB, free: 166.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)