Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.152/2.152, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.001413/0.001413, allocations: 178.9 kB / 372 MB, free: 10.25 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.806/1.806, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008109/0.0008111, allocations: 97.31 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004272, allocations: 14.98 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04617/0.2511, allocations: 55.76 MB / 1.034 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.2691, allocations: 12.28 MB / 1.046 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.2717, allocations: 59.56 kB / 1.046 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.2739, allocations: 0.7026 MB / 1.047 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.2794, allocations: 1.832 MB / 1.049 GB, free: 4.844 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.2843, allocations: 1.161 MB / 1.05 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00764/0.292, allocations: 4.742 MB / 1.054 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.2944, allocations: 0.9813 MB / 1.055 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.2981, allocations: 1.299 MB / 1.057 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.3006, allocations: 1.085 MB / 1.058 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006689/0.3013, allocations: 63.94 kB / 1.058 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.3053, allocations: 1.021 MB / 1.059 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005964/0.3059, allocations: 330.5 kB / 1.059 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007825/0.3067, allocations: 356.8 kB / 1.059 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.3098, allocations: 1.976 MB / 1.061 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3098, allocations: 0 / 1.061 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3099, allocations: 0 / 1.061 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.385e-05/0.3099, allocations: 0 / 1.061 GB, free: 7.797 MB / 0.6823 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.003851/0.3138, allocations: 1.913 MB / 1.063 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3138, allocations: 8.031 kB / 1.063 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.3174, allocations: 0.6379 MB / 1.064 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.3198, allocations: 1.327 MB / 1.065 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.3199, allocations: 145.4 kB / 1.065 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.3201, allocations: 104 kB / 1.065 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003025/0.3231, allocations: 1.346 MB / 1.067 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.3232, allocations: 0 / 1.067 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3233, allocations: 36 kB / 1.067 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.3234, allocations: 24 kB / 1.067 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004512/0.3279, allocations: 1.382 MB / 1.068 GB, free: 0.7109 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.5435/0.8714, allocations: 5.391 MB / 1.073 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/0.8756, allocations: 1.087 MB / 1.074 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.8783, allocations: 0.6308 MB / 1.075 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009645/0.8793, allocations: 1.231 MB / 1.076 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00301/0.8823, allocations: 0.6944 MB / 1.077 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 4.689e-06/0.8824, allocations: 0.9375 kB / 1.077 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.009342/0.8917, allocations: 1.791 MB / 1.079 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.8919, allocations: 62.98 kB / 1.079 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/0.8956, allocations: 1.302 MB / 1.08 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.8958, allocations: 47.31 kB / 1.08 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008906/0.8968, allocations: 0.6633 MB / 1.081 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.8971, allocations: 237.1 kB / 1.081 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.8972, allocations: 15.44 kB / 1.081 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8973, allocations: 341.4 kB / 1.081 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/0.9001, allocations: 0.5506 MB / 1.082 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.9031, allocations: 0.7764 MB / 1.082 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.9058, allocations: 0.6037 MB / 1.083 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.9059, allocations: 0.9062 kB / 1.083 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.006531/0.9124, allocations: 1.465 MB / 1.084 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.9126, allocations: 209.6 kB / 1.085 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.9126, allocations: 3.406 kB / 1.085 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.189e-05/0.9127, allocations: 10.38 kB / 1.085 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.9148, allocations: 266.8 kB / 1.085 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.302e-05/0.9148, allocations: 15.56 kB / 1.085 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/0.9178, allocations: 242.8 kB / 1.085 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.918, allocations: 41.33 kB / 1.085 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.918, allocations: 7.062 kB / 1.085 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005691/0.9237, allocations: 1.311 MB / 1.087 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.9237, allocations: 3.188 kB / 1.087 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.9238, allocations: 6.688 kB / 1.087 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.9257, allocations: 269.8 kB / 1.087 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/0.9258, allocations: 11.14 kB / 1.087 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.9286, allocations: 233.2 kB / 1.087 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.9288, allocations: 39.56 kB / 1.087 GB, free: 81.47 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.001195/0.93, allocations: 414.8 kB / 1.087 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005202/0.9306, allocations: 150.2 kB / 1.088 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006566/0.9371, allocations: 1.54 MB / 1.089 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.9372, allocations: 8.359 kB / 1.089 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.9372, allocations: 1.375 kB / 1.089 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005215/0.9425, allocations: 1.293 MB / 1.09 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.9535, allocations: 3.28 MB / 1.094 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.9536, allocations: 11.38 kB / 1.094 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/0.9554, allocations: 235.9 kB / 1.094 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.957e-05/0.9555, allocations: 7.125 kB / 1.094 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.9556, allocations: 25.98 kB / 1.094 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.982e-05/0.9557, allocations: 8.734 kB / 1.094 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.9557, allocations: 9.25 kB / 1.094 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/0.9644, allocations: 2.329 MB / 1.096 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.9657, allocations: 372.9 kB / 1.096 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004752/0.9662, allocations: 22.03 kB / 1.097 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/0.9688, allocations: 175.3 kB / 1.097 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.969, allocations: 76.33 kB / 1.097 GB, free: 77.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/0.9692, allocations: 39.03 kB / 1.097 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002498/0.9717, allocations: 0.9271 MB / 1.098 GB, free: 76.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9718, allocations: 0 / 1.098 GB, free: 76.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00361/0.9754, allocations: 0.7882 MB / 1.098 GB, free: 76.78 MB / 0.6823 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) * Number of clocked states: 0 () * 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.00134/0.9767, allocations: 0.4884 MB / 1.099 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008509/0.9853, allocations: 2.092 MB / 1.101 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/0.9853, allocations: 1.219 kB / 1.101 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003044/0.9884, allocations: 0.7126 MB / 1.102 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006893/0.9953, allocations: 0.7668 MB / 1.102 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008298/1.004, allocations: 3.224 MB / 1.106 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.005, allocations: 1.248 MB / 1.107 GB, free: 72.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003561/1.009, allocations: 366.6 kB / 1.107 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/1.009, allocations: 127.5 kB / 1.107 GB, free: 72.13 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/1.01, allocations: 0 / 1.107 GB, free: 72.13 MB / 0.6823 GB Notification: Performance of Templates: time 0.05317/1.063, allocations: 29.32 MB / 1.136 GB, free: 49.61 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)