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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8129/0.8129, allocations: 132.4 MB / 139.9 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001331/0.001331, allocations: 179.2 kB / 171.8 MB, free: 4.922 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.378/1.378, allocations: 170.6 MB / 374.2 MB, free: 208 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00161/0.00161, allocations: 113.5 kB / 444.8 MB, free: 14.18 MB / 314.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.1515/0.1516, allocations: 73.41 MB / 0.6666 GB, free: 15.68 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.35, allocations: 371.5 MB / 1.029 GB, free: 87.23 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.35, allocations: 81.77 kB / 1.029 GB, free: 87.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.024/3.374, allocations: 0.5654 GB / 1.595 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/3.374, allocations: 0 / 1.595 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001388/3.374, allocations: 39.98 kB / 1.595 GB, free: 8.262 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.00381/3.378, allocations: 1.837 MB / 1.597 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/3.378, allocations: 12.03 kB / 1.597 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003637/3.381, allocations: 0.6533 MB / 1.597 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5069/3.888, allocations: 12.61 MB / 1.61 GB, free: 81.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/3.889, allocations: 108.9 kB / 1.61 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/3.889, allocations: 71.64 kB / 1.61 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002305/3.891, allocations: 0.9621 MB / 1.611 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/3.893, allocations: 1.178 MB / 1.612 GB, free: 80.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/3.893, allocations: 8.203 kB / 1.612 GB, free: 80.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/3.894, allocations: 5.594 kB / 1.612 GB, free: 80.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/3.894, allocations: 34.64 kB / 1.612 GB, free: 80.98 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008654/3.902, allocations: 6.668 MB / 1.619 GB, free: 76.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/3.904, allocations: 0.7691 MB / 1.619 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/3.905, allocations: 431 kB / 1.62 GB, free: 76.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/3.905, allocations: 0.5889 MB / 1.62 GB, free: 76.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009175/3.906, allocations: 0.5219 MB / 1.621 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 3.115e-06/3.906, allocations: 4.062 kB / 1.621 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71): time 0.00563/3.912, allocations: 2.164 MB / 1.623 GB, free: 75.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/3.912, allocations: 216.8 kB / 1.623 GB, free: 75.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/3.913, allocations: 1.032 MB / 1.624 GB, free: 75.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/3.913, allocations: 31.77 kB / 1.624 GB, free: 75.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008355/3.914, allocations: 0.7548 MB / 1.625 GB, free: 74.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/3.915, allocations: 244.1 kB / 1.625 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/3.915, allocations: 0 / 1.625 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001809/3.915, allocations: 338.3 kB / 1.625 GB, free: 74.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/3.916, allocations: 361.7 kB / 1.626 GB, free: 74.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000978/3.917, allocations: 0.7696 MB / 1.627 GB, free: 73.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/3.918, allocations: 459.6 kB / 1.627 GB, free: 73.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/3.918, allocations: 2.25 kB / 1.627 GB, free: 73.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002575/3.92, allocations: 1.127 MB / 1.628 GB, free: 73.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007642/3.921, allocations: 3.158 MB / 1.631 GB, free: 70.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/3.921, allocations: 12.84 kB / 1.631 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-05/3.921, allocations: 13.62 kB / 1.631 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/3.923, allocations: 336.8 kB / 1.631 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/3.923, allocations: 17.42 kB / 1.632 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/3.925, allocations: 184.1 kB / 1.632 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/3.925, allocations: 58.14 kB / 1.632 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/3.925, allocations: 6.406 kB / 1.632 GB, free: 70.59 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002106/3.927, allocations: 0.946 MB / 1.633 GB, free: 70.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/3.927, allocations: 7.781 kB / 1.633 GB, free: 70.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/3.927, allocations: 13.03 kB / 1.633 GB, free: 70.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/3.929, allocations: 331.5 kB / 1.633 GB, free: 70.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/3.929, allocations: 18.83 kB / 1.633 GB, free: 70.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/3.931, allocations: 178 kB / 1.633 GB, free: 70.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/3.931, allocations: 50.34 kB / 1.633 GB, free: 70.57 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.0003463/3.931, allocations: 141.6 kB / 1.633 GB, free: 70.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/3.932, allocations: 150.9 kB / 1.634 GB, free: 70.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/3.934, allocations: 1.117 MB / 1.635 GB, free: 70.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/3.934, allocations: 18.05 kB / 1.635 GB, free: 70.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3.934, allocations: 0 / 1.635 GB, free: 70.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001719/3.936, allocations: 0.965 MB / 1.636 GB, free: 70.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005604/3.942, allocations: 2.777 MB / 1.638 GB, free: 69.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/3.942, allocations: 10.06 kB / 1.638 GB, free: 69.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/3.943, allocations: 259.9 kB / 1.639 GB, free: 69.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/3.943, allocations: 91.23 kB / 1.639 GB, free: 69.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/3.944, allocations: 18.59 kB / 1.639 GB, free: 69.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008167/3.944, allocations: 1.176 MB / 1.64 GB, free: 68.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-05/3.944, allocations: 15.27 kB / 1.64 GB, free: 68.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/3.948, allocations: 2.358 MB / 1.642 GB, free: 67.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/3.949, allocations: 458.2 kB / 1.643 GB, free: 67.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/3.95, allocations: 20.98 kB / 1.643 GB, free: 67.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/3.951, allocations: 161.4 kB / 1.643 GB, free: 67.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/3.951, allocations: 84.7 kB / 1.643 GB, free: 67.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/3.951, allocations: 54.7 kB / 1.643 GB, free: 67.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001445/3.953, allocations: 0.781 MB / 1.644 GB, free: 66.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.403e-06/3.953, allocations: 3.406 kB / 1.644 GB, free: 66.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003554/3.956, allocations: 0.7201 MB / 1.644 GB, free: 66.95 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.001749/3.958, allocations: 0.7552 MB / 1.645 GB, free: 66.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002524/3.961, allocations: 1.541 MB / 1.647 GB, free: 66.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/3.961, allocations: 6.719 kB / 1.647 GB, free: 66.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009718/3.962, allocations: 0.5525 MB / 1.647 GB, free: 66.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/3.965, allocations: 0.6758 MB / 1.648 GB, free: 66.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/3.971, allocations: 2.561 MB / 1.65 GB, free: 65.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000861/3.972, allocations: 1.305 MB / 1.652 GB, free: 65.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002747/3.975, allocations: 496.3 kB / 1.652 GB, free: 65.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/3.975, allocations: 103 kB / 1.652 GB, free: 65.13 MB / 0.6198 GB Notification: Performance of SimCode: time 1.383e-06/3.975, allocations: 0 / 1.652 GB, free: 65.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.0526/4.028, allocations: 31.39 MB / 1.683 GB, free: 63.69 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)