Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7417/0.7417, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001164/0.001164, allocations: 176.2 kB / 171.6 MB, free: 2.016 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.559/1.559, allocations: 170.5 MB / 373.9 MB, free: 15.87 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.001861/0.001861, allocations: 112 kB / 444.4 MB, free: 9.406 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.6275/0.6275, allocations: 73.39 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8512/1.479, allocations: 371.5 MB / 1.029 GB, free: 67.19 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.479, allocations: 84.14 kB / 1.029 GB, free: 67.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.953/3.432, allocations: 0.5683 GB / 1.597 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001497/3.432, allocations: 42.81 kB / 1.597 GB, free: 20.32 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.003829/3.436, allocations: 1.837 MB / 1.599 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/3.436, allocations: 8.031 kB / 1.599 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/3.44, allocations: 0.6986 MB / 1.6 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02835/3.469, allocations: 12.68 MB / 1.612 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/3.469, allocations: 113.4 kB / 1.612 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004911/3.469, allocations: 68 kB / 1.612 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002547/3.472, allocations: 0.9568 MB / 1.613 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/3.474, allocations: 1.179 MB / 1.614 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/3.474, allocations: 3.938 kB / 1.614 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/3.474, allocations: 4 kB / 1.614 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/3.474, allocations: 39.91 kB / 1.614 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3084/3.783, allocations: 7.066 MB / 1.621 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/3.784, allocations: 0.7038 MB / 1.622 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/3.785, allocations: 430.5 kB / 1.622 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/3.785, allocations: 0.5812 MB / 1.623 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/3.786, allocations: 0.5122 MB / 1.623 GB, free: 131.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 2.945e-06/3.786, allocations: 0 / 1.623 GB, free: 131.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71): time 0.005398/3.791, allocations: 2.101 MB / 1.625 GB, free: 130.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/3.792, allocations: 215.8 kB / 1.626 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/3.793, allocations: 0.9967 MB / 1.627 GB, free: 130.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/3.793, allocations: 31.8 kB / 1.627 GB, free: 130.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/3.793, allocations: 0.5077 MB / 1.627 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/3.794, allocations: 240.6 kB / 1.627 GB, free: 130 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/3.794, allocations: 0 / 1.627 GB, free: 130 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001295/3.794, allocations: 344.9 kB / 1.628 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/3.794, allocations: 359.2 kB / 1.628 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007661/3.795, allocations: 0.7603 MB / 1.629 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007762/3.796, allocations: 448.8 kB / 1.629 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/3.796, allocations: 3.688 kB / 1.629 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00179/3.798, allocations: 1.088 MB / 1.63 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007104/3.798, allocations: 3.117 MB / 1.633 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/3.798, allocations: 7.625 kB / 1.633 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/3.799, allocations: 18.31 kB / 1.633 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/3.8, allocations: 350.2 kB / 1.634 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/3.8, allocations: 20.11 kB / 1.634 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/3.802, allocations: 192.2 kB / 1.634 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/3.802, allocations: 56.53 kB / 1.634 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/3.802, allocations: 6.094 kB / 1.634 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001596/3.804, allocations: 0.9102 MB / 1.635 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/3.804, allocations: 9.125 kB / 1.635 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/3.804, allocations: 16.69 kB / 1.635 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/3.805, allocations: 343 kB / 1.635 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/3.805, allocations: 16.97 kB / 1.635 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/3.807, allocations: 189.1 kB / 1.635 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/3.807, allocations: 54.77 kB / 1.635 GB, free: 125.9 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.0002789/3.807, allocations: 137.4 kB / 1.636 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/3.807, allocations: 147.8 kB / 1.636 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/3.81, allocations: 1.115 MB / 1.637 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/3.81, allocations: 11.03 kB / 1.637 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/3.81, allocations: 7.422 kB / 1.637 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001426/3.811, allocations: 0.9449 MB / 1.638 GB, free: 125.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/3.815, allocations: 2.727 MB / 1.64 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/3.815, allocations: 8.906 kB / 1.64 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/3.817, allocations: 270.3 kB / 1.641 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/3.817, allocations: 83.72 kB / 1.641 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/3.817, allocations: 27.2 kB / 1.641 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006539/3.818, allocations: 1.188 MB / 1.642 GB, free: 123.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/3.818, allocations: 10.59 kB / 1.642 GB, free: 123.8 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002741/3.82, allocations: 2.337 MB / 1.644 GB, free: 122.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/3.821, allocations: 446.3 kB / 1.645 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/3.821, allocations: 13.44 kB / 1.645 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/3.823, allocations: 184.2 kB / 1.645 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/3.823, allocations: 79.11 kB / 1.645 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/3.823, allocations: 51.17 kB / 1.645 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001178/3.824, allocations: 0.7443 MB / 1.646 GB, free: 122.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002628/3.827, allocations: 0.7138 MB / 1.646 GB, free: 122.3 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.001357/3.828, allocations: 0.7487 MB / 1.647 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002482/3.831, allocations: 1.478 MB / 1.649 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/3.831, allocations: 3.938 kB / 1.649 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/3.832, allocations: 0.5596 MB / 1.649 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/3.835, allocations: 0.6548 MB / 1.65 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007236/3.843, allocations: 2.625 MB / 1.652 GB, free: 121.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/3.844, allocations: 1.448 MB / 1.654 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/3.844, allocations: 0 / 1.654 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.06165/3.906, allocations: 36.99 MB / 1.69 GB, free: 119.6 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)