Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.681/1.681, allocations: 287.5 MB / 302.6 MB, free: 8.211 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.001082/0.001082, allocations: 170.6 kB / 371.2 MB, free: 10.77 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.673/1.673, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008343/0.0008343, allocations: 89.61 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004138, allocations: 15.89 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04827/0.2817, allocations: 55.77 MB / 1.033 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.3003, allocations: 12.27 MB / 1.045 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003302/0.3036, allocations: 55.62 kB / 1.045 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.3065, allocations: 0.7142 MB / 1.046 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007749/0.3142, allocations: 1.816 MB / 1.048 GB, free: 5.387 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.004644/0.3189, allocations: 1.168 MB / 1.049 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00723/0.3262, allocations: 4.783 MB / 1.053 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.3282, allocations: 1.092 MB / 1.055 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.3314, allocations: 1.287 MB / 1.056 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.3333, allocations: 1.093 MB / 1.057 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.3336, allocations: 60 kB / 1.057 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.3376, allocations: 1.029 MB / 1.058 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.3381, allocations: 318.6 kB / 1.058 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008202/0.3389, allocations: 364.8 kB / 1.059 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.3421, allocations: 1.96 MB / 1.06 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3421, allocations: 0 / 1.06 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3421, allocations: 0 / 1.06 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.17e-05/0.3422, allocations: 0 / 1.06 GB, free: 8.188 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.003315/0.3455, allocations: 1.902 MB / 1.062 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3455, allocations: 11.97 kB / 1.062 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.3489, allocations: 0.6464 MB / 1.063 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.3515, allocations: 1.381 MB / 1.064 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.3517, allocations: 141.4 kB / 1.064 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.3519, allocations: 103.9 kB / 1.065 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.3549, allocations: 1.342 MB / 1.066 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.355, allocations: 0 / 1.066 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3551, allocations: 40 kB / 1.066 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.3551, allocations: 24 kB / 1.066 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/0.3587, allocations: 1.386 MB / 1.067 GB, free: 1.051 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.4522/0.8109, allocations: 5.39 MB / 1.073 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.8136, allocations: 1.095 MB / 1.074 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.8154, allocations: 0.6266 MB / 1.074 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/0.8162, allocations: 1.234 MB / 1.075 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002027/0.8182, allocations: 0.6974 MB / 1.076 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.877e-06/0.8182, allocations: 0 / 1.076 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005725/0.824, allocations: 1.798 MB / 1.078 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.824, allocations: 60.84 kB / 1.078 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.8264, allocations: 1.295 MB / 1.079 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.8265, allocations: 44.14 kB / 1.079 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/0.8272, allocations: 0.6681 MB / 1.08 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.8275, allocations: 238 kB / 1.08 GB, free: 83.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.8276, allocations: 18.03 kB / 1.08 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8277, allocations: 335.7 kB / 1.08 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.8295, allocations: 0.5495 MB / 1.081 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.8315, allocations: 0.7758 MB / 1.082 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.8349, allocations: 1.201 MB / 1.083 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8349, allocations: 5.25 kB / 1.083 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004372/0.8393, allocations: 1.464 MB / 1.084 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.8395, allocations: 214.5 kB / 1.085 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.8395, allocations: 2.281 kB / 1.085 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.8395, allocations: 6.625 kB / 1.085 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.8408, allocations: 274.3 kB / 1.085 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.8409, allocations: 7.438 kB / 1.085 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.8429, allocations: 236.6 kB / 1.085 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.843, allocations: 40.78 kB / 1.085 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.843, allocations: 3.344 kB / 1.085 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003571/0.8466, allocations: 1.316 MB / 1.086 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8466, allocations: 3.188 kB / 1.086 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8466, allocations: 6.094 kB / 1.086 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.8478, allocations: 272.6 kB / 1.087 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/0.8479, allocations: 11.86 kB / 1.087 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.8497, allocations: 236.3 kB / 1.087 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.8498, allocations: 36.45 kB / 1.087 GB, free: 80.81 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.0009113/0.8508, allocations: 421.2 kB / 1.087 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004534/0.8512, allocations: 149.1 kB / 1.087 GB, free: 80.42 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.8555, allocations: 1.527 MB / 1.089 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.8555, allocations: 13.11 kB / 1.089 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8556, allocations: 0 / 1.089 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003333/0.8589, allocations: 1.296 MB / 1.09 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008173/0.8671, allocations: 3.276 MB / 1.093 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.8671, allocations: 7.078 kB / 1.093 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.8683, allocations: 235.4 kB / 1.094 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.358e-05/0.8684, allocations: 7.781 kB / 1.094 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.75e-05/0.8685, allocations: 33.2 kB / 1.094 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.769e-05/0.8685, allocations: 12.86 kB / 1.094 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8685, allocations: 8.5 kB / 1.094 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006003/0.8745, allocations: 2.322 MB / 1.096 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.8758, allocations: 377 kB / 1.096 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005346/0.8763, allocations: 21.69 kB / 1.096 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.8782, allocations: 184.7 kB / 1.097 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.8784, allocations: 70.14 kB / 1.097 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.8785, allocations: 44.11 kB / 1.097 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002462/0.881, allocations: 0.9221 MB / 1.098 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.32e-07/0.881, allocations: 3.938 kB / 1.098 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003579/0.8846, allocations: 0.7851 MB / 1.098 GB, free: 76.12 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.00144/0.886, allocations: 0.4942 MB / 1.099 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006258/0.8923, allocations: 2.088 MB / 1.101 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.8923, allocations: 1.094 kB / 1.101 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.8944, allocations: 0.7144 MB / 1.102 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/0.9003, allocations: 0.764 MB / 1.102 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/0.9073, allocations: 3.236 MB / 1.105 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.9085, allocations: 1.246 MB / 1.107 GB, free: 72.29 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002805/0.9113, allocations: 366.8 kB / 1.107 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/0.9119, allocations: 122.2 kB / 1.107 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.253e-06/0.9119, allocations: 0 / 1.107 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.04877/0.9607, allocations: 30.27 MB / 1.137 GB, free: 48.54 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)