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.7939/0.7939, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.00101/0.00101, allocations: 173.2 kB / 171.8 MB, free: 2.004 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.509/1.509, allocations: 170.6 MB / 374.2 MB, free: 15.75 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.001797/0.001797, allocations: 115.2 kB / 444.8 MB, free: 9.273 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.5245/0.5246, allocations: 73.4 MB / 0.6666 GB, free: 46.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8477/1.372, allocations: 371.5 MB / 1.029 GB, free: 35.14 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.373, allocations: 89.14 kB / 1.029 GB, free: 35.09 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.869/3.241, allocations: 0.5654 GB / 1.595 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/3.241, allocations: 0 / 1.595 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002106/3.242, allocations: 44.3 kB / 1.595 GB, free: 7.465 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.004767/3.246, allocations: 1.839 MB / 1.597 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/3.246, allocations: 8.031 kB / 1.597 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/3.25, allocations: 0.665 MB / 1.597 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4002/3.651, allocations: 12.6 MB / 1.61 GB, free: 71.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/3.651, allocations: 110.2 kB / 1.61 GB, free: 71.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/3.651, allocations: 75.73 kB / 1.61 GB, free: 71.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001944/3.653, allocations: 0.9619 MB / 1.611 GB, free: 71.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/3.655, allocations: 1.173 MB / 1.612 GB, free: 71.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/3.655, allocations: 4.531 kB / 1.612 GB, free: 71.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/3.655, allocations: 3.844 kB / 1.612 GB, free: 71.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/3.655, allocations: 38.67 kB / 1.612 GB, free: 71.42 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.008423/3.664, allocations: 6.676 MB / 1.619 GB, free: 67.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/3.665, allocations: 0.7587 MB / 1.619 GB, free: 67.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/3.666, allocations: 434.1 kB / 1.62 GB, free: 67.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004714/3.667, allocations: 0.5854 MB / 1.62 GB, free: 66.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006938/3.667, allocations: 0.5258 MB / 1.621 GB, free: 66.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 2.695e-06/3.667, allocations: 0 / 1.621 GB, free: 66.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71): time 0.005417/3.673, allocations: 2.157 MB / 1.623 GB, free: 65.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/3.673, allocations: 219.1 kB / 1.623 GB, free: 65.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/3.675, allocations: 1.037 MB / 1.624 GB, free: 65.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/3.675, allocations: 32.55 kB / 1.624 GB, free: 65.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/3.676, allocations: 0.7564 MB / 1.625 GB, free: 65.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/3.676, allocations: 239.1 kB / 1.625 GB, free: 65.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/3.676, allocations: 0 / 1.625 GB, free: 65.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001141/3.676, allocations: 341.9 kB / 1.625 GB, free: 64.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005986/3.677, allocations: 363.9 kB / 1.626 GB, free: 64.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008854/3.678, allocations: 0.7672 MB / 1.627 GB, free: 64.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/3.679, allocations: 461.7 kB / 1.627 GB, free: 64.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/3.679, allocations: 5.969 kB / 1.627 GB, free: 64.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002429/3.681, allocations: 1.122 MB / 1.628 GB, free: 64.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006313/3.682, allocations: 3.158 MB / 1.631 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/3.682, allocations: 8.031 kB / 1.631 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.658e-05/3.682, allocations: 22.28 kB / 1.631 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/3.684, allocations: 336.7 kB / 1.631 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.303e-05/3.684, allocations: 18.53 kB / 1.632 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/3.686, allocations: 183.5 kB / 1.632 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/3.686, allocations: 56.25 kB / 1.632 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/3.686, allocations: 3.219 kB / 1.632 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001953/3.688, allocations: 0.9448 MB / 1.633 GB, free: 61.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/3.688, allocations: 7.469 kB / 1.633 GB, free: 61.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/3.688, allocations: 17.28 kB / 1.633 GB, free: 61.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/3.689, allocations: 331.4 kB / 1.633 GB, free: 61.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/3.689, allocations: 13.22 kB / 1.633 GB, free: 61.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/3.691, allocations: 178.9 kB / 1.633 GB, free: 61.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/3.691, allocations: 56.69 kB / 1.633 GB, free: 61.02 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.0002965/3.692, allocations: 145 kB / 1.633 GB, free: 60.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/3.692, allocations: 145.7 kB / 1.634 GB, free: 60.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/3.694, allocations: 1.125 MB / 1.635 GB, free: 60.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/3.694, allocations: 6.844 kB / 1.635 GB, free: 60.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/3.694, allocations: 0 / 1.635 GB, free: 60.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001466/3.696, allocations: 0.9667 MB / 1.636 GB, free: 60.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/3.7, allocations: 2.781 MB / 1.638 GB, free: 59.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/3.7, allocations: 8.906 kB / 1.638 GB, free: 59.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/3.701, allocations: 258.9 kB / 1.639 GB, free: 59.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/3.702, allocations: 88.2 kB / 1.639 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/3.702, allocations: 24.48 kB / 1.639 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006151/3.702, allocations: 1.171 MB / 1.64 GB, free: 58.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/3.702, allocations: 11.12 kB / 1.64 GB, free: 58.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/3.705, allocations: 2.364 MB / 1.642 GB, free: 57.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007724/3.706, allocations: 460.5 kB / 1.643 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/3.706, allocations: 12.91 kB / 1.643 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/3.708, allocations: 170.1 kB / 1.643 GB, free: 57.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/3.708, allocations: 87.52 kB / 1.643 GB, free: 57.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.722e-05/3.708, allocations: 55.09 kB / 1.643 GB, free: 57.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009379/3.709, allocations: 0.7721 MB / 1.644 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.332e-06/3.709, allocations: 0 / 1.644 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002276/3.711, allocations: 0.7281 MB / 1.644 GB, free: 57.41 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.001285/3.712, allocations: 0.7573 MB / 1.645 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002087/3.714, allocations: 1.538 MB / 1.647 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/3.714, allocations: 7.719 kB / 1.647 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000915/3.715, allocations: 0.5476 MB / 1.647 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/3.719, allocations: 0.6875 MB / 1.648 GB, free: 57.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006192/3.725, allocations: 2.565 MB / 1.65 GB, free: 56.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/3.725, allocations: 1.302 MB / 1.652 GB, free: 55.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002615/3.728, allocations: 489.7 kB / 1.652 GB, free: 55.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/3.728, allocations: 98.47 kB / 1.652 GB, free: 55.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.683e-06/3.728, allocations: 0 / 1.652 GB, free: 55.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.05388/3.782, allocations: 31.4 MB / 1.683 GB, free: 54.11 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)