Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7196/0.7196, allocations: 132.4 MB / 139.7 MB, free: 15.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001265/0.001265, allocations: 174.6 kB / 171.6 MB, free: 1.992 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.567/1.567, allocations: 170.5 MB / 373.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001748/0.001747, allocations: 118.5 kB / 444.4 MB, free: 9.426 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6076/0.6076, allocations: 73.4 MB / 0.666 GB, free: 61.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8491/1.457, allocations: 371.4 MB / 1.029 GB, free: 67.39 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.457, allocations: 85.61 kB / 1.029 GB, free: 67.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.933/3.39, allocations: 0.5689 GB / 1.598 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003711/3.39, allocations: 40.14 kB / 1.598 GB, free: 18.05 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005808/3.396, allocations: 1.855 MB / 1.6 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/3.396, allocations: 8.031 kB / 1.6 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/3.401, allocations: 0.7041 MB / 1.6 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03017/3.431, allocations: 12.7 MB / 1.613 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/3.431, allocations: 117.3 kB / 1.613 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/3.432, allocations: 68 kB / 1.613 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002108/3.434, allocations: 0.9802 MB / 1.614 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/3.436, allocations: 1.19 MB / 1.615 GB, free: 244 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/3.436, allocations: 3.938 kB / 1.615 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/3.436, allocations: 4 kB / 1.615 GB, free: 236 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/3.436, allocations: 39.98 kB / 1.615 GB, free: 196 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3324/3.769, allocations: 7.108 MB / 1.622 GB, free: 130.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/3.77, allocations: 0.7278 MB / 1.623 GB, free: 130.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/3.771, allocations: 441.7 kB / 1.623 GB, free: 130.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/3.772, allocations: 0.5838 MB / 1.624 GB, free: 130.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008145/3.772, allocations: 0.5282 MB / 1.624 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 3.046e-06/3.772, allocations: 0 / 1.624 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71): time 0.006421/3.779, allocations: 2.206 MB / 1.626 GB, free: 129.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/3.779, allocations: 217.8 kB / 1.626 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/3.78, allocations: 1.048 MB / 1.628 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/3.78, allocations: 28.8 kB / 1.628 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/3.781, allocations: 0.5063 MB / 1.628 GB, free: 128.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/3.781, allocations: 238.4 kB / 1.628 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/3.781, allocations: 3.375 kB / 1.628 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/3.781, allocations: 348.4 kB / 1.629 GB, free: 128.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/3.782, allocations: 369.5 kB / 1.629 GB, free: 128.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/3.783, allocations: 0.7734 MB / 1.63 GB, free: 128 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/3.783, allocations: 477.9 kB / 1.63 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/3.783, allocations: 3.219 kB / 1.63 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001937/3.785, allocations: 1.14 MB / 1.631 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006034/3.786, allocations: 3.125 MB / 1.634 GB, free: 124.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/3.786, allocations: 9.531 kB / 1.634 GB, free: 124.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/3.786, allocations: 11.62 kB / 1.634 GB, free: 124.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/3.788, allocations: 354 kB / 1.635 GB, free: 124.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/3.788, allocations: 15.81 kB / 1.635 GB, free: 124.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/3.79, allocations: 199 kB / 1.635 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/3.79, allocations: 54.39 kB / 1.635 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/3.79, allocations: 3.875 kB / 1.635 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001645/3.791, allocations: 0.9553 MB / 1.636 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/3.791, allocations: 7.906 kB / 1.636 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/3.791, allocations: 12.59 kB / 1.636 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/3.793, allocations: 346.1 kB / 1.636 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/3.793, allocations: 16.12 kB / 1.636 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/3.795, allocations: 189.9 kB / 1.636 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/3.795, allocations: 53.61 kB / 1.636 GB, free: 124.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (113): * Single equations (assignments): 112 * 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.0002917/3.795, allocations: 137.5 kB / 1.637 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/3.795, allocations: 147.7 kB / 1.637 GB, free: 124.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/3.798, allocations: 1.17 MB / 1.638 GB, free: 124.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/3.798, allocations: 10.27 kB / 1.638 GB, free: 124.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/3.798, allocations: 1.125 kB / 1.638 GB, free: 124.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/3.799, allocations: 0.996 MB / 1.639 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/3.804, allocations: 2.797 MB / 1.642 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/3.804, allocations: 9.266 kB / 1.642 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/3.805, allocations: 274.9 kB / 1.642 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/3.806, allocations: 87.77 kB / 1.642 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/3.806, allocations: 27.84 kB / 1.642 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006574/3.806, allocations: 1.178 MB / 1.643 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/3.806, allocations: 11.56 kB / 1.643 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002968/3.809, allocations: 2.414 MB / 1.646 GB, free: 121.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008721/3.81, allocations: 463.2 kB / 1.646 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/3.811, allocations: 10.84 kB / 1.646 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/3.812, allocations: 178.9 kB / 1.646 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/3.812, allocations: 73.38 kB / 1.646 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.693e-05/3.812, allocations: 52.7 kB / 1.646 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001039/3.813, allocations: 0.7825 MB / 1.647 GB, free: 121 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002439/3.816, allocations: 0.7243 MB / 1.648 GB, free: 121 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (79): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/3.817, allocations: 0.7657 MB / 1.648 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002222/3.819, allocations: 1.5 MB / 1.65 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/3.819, allocations: 3.938 kB / 1.65 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/3.82, allocations: 0.5638 MB / 1.65 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/3.824, allocations: 0.6548 MB / 1.651 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/3.831, allocations: 2.683 MB / 1.654 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/3.833, allocations: 1.457 MB / 1.655 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/3.833, allocations: 0 / 1.655 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.05989/3.892, allocations: 37.34 MB / 1.692 GB, free: 118.2 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)