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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 303.3 MB, free: 8.156 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.001132/0.001132, allocations: 179.3 kB / 372 MB, free: 10.26 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.685/1.685, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0007175/0.0007174, allocations: 98.97 kB / 0.7441 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005994, allocations: 11.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2797, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04677/0.3265, allocations: 55.76 MB / 1.034 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.3446, allocations: 12.27 MB / 1.046 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.3478, allocations: 63.56 kB / 1.046 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.351, allocations: 0.7065 MB / 1.047 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006636/0.3576, allocations: 1.824 MB / 1.049 GB, free: 4.75 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.003887/0.3615, allocations: 1.181 MB / 1.05 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006528/0.3681, allocations: 4.73 MB / 1.054 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.3703, allocations: 0.9927 MB / 1.055 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.3736, allocations: 1.295 MB / 1.057 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.3759, allocations: 1.089 MB / 1.058 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003248/0.3762, allocations: 60 kB / 1.058 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.3801, allocations: 1.017 MB / 1.059 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.3806, allocations: 334.5 kB / 1.059 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007551/0.3814, allocations: 356.8 kB / 1.059 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.3842, allocations: 1.968 MB / 1.061 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3842, allocations: 0 / 1.061 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3843, allocations: 4 kB / 1.061 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.662e-05/0.3843, allocations: 0 / 1.061 GB, free: 7.691 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.00325/0.3875, allocations: 1.913 MB / 1.063 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3876, allocations: 8.031 kB / 1.063 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.3878, allocations: 147.7 kB / 1.063 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.3912, allocations: 0.634 MB / 1.064 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.3937, allocations: 1.343 MB / 1.065 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.3938, allocations: 145.4 kB / 1.065 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.394, allocations: 100 kB / 1.065 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.3969, allocations: 1.338 MB / 1.067 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.3969, allocations: 0 / 1.067 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-05/0.397, allocations: 39.98 kB / 1.067 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.3971, allocations: 31.94 kB / 1.067 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/0.4007, allocations: 1.378 MB / 1.068 GB, free: 456 kB / 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.533/0.9337, allocations: 5.384 MB / 1.073 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/0.938, allocations: 1.09 MB / 1.075 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/0.9408, allocations: 0.6252 MB / 1.075 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.9418, allocations: 1.233 MB / 1.076 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003151/0.945, allocations: 0.6912 MB / 1.077 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 5.4e-06/0.945, allocations: 3.703 kB / 1.077 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.00868/0.9537, allocations: 1.793 MB / 1.079 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.9538, allocations: 59.73 kB / 1.079 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/0.9573, allocations: 1.304 MB / 1.08 GB, free: 84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.9576, allocations: 44.39 kB / 1.08 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000821/0.9584, allocations: 0.6689 MB / 1.081 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.9587, allocations: 235.4 kB / 1.081 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.9588, allocations: 15.16 kB / 1.081 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.959, allocations: 338.5 kB / 1.081 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/0.9617, allocations: 0.5514 MB / 1.082 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/0.9646, allocations: 0.7771 MB / 1.083 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.9674, allocations: 0.6016 MB / 1.083 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.9674, allocations: 1.812 kB / 1.083 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.006747/0.9742, allocations: 1.47 MB / 1.085 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.9744, allocations: 204.6 kB / 1.085 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.9744, allocations: 3.875 kB / 1.085 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/0.9745, allocations: 6.219 kB / 1.085 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.9766, allocations: 271.5 kB / 1.085 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/0.9767, allocations: 10.89 kB / 1.085 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.9797, allocations: 243.2 kB / 1.085 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.9799, allocations: 39.47 kB / 1.085 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.98, allocations: 5.641 kB / 1.085 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005642/0.9856, allocations: 1.31 MB / 1.087 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.9857, allocations: 3.406 kB / 1.087 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.9857, allocations: 11.06 kB / 1.087 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.9877, allocations: 268 kB / 1.087 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.9878, allocations: 16 kB / 1.087 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.9906, allocations: 231 kB / 1.087 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.9908, allocations: 40.11 kB / 1.087 GB, free: 80.96 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.001129/0.9919, allocations: 419.1 kB / 1.088 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.9923, allocations: 149.4 kB / 1.088 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/0.9985, allocations: 1.535 MB / 1.089 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/0.9986, allocations: 9.156 kB / 1.089 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.9986, allocations: 1.375 kB / 1.089 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004738/1.003, allocations: 1.296 MB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/1.014, allocations: 3.272 MB / 1.094 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.014, allocations: 5.438 kB / 1.094 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.015, allocations: 235.2 kB / 1.094 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.241e-05/1.015, allocations: 8.875 kB / 1.094 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.016, allocations: 28.45 kB / 1.094 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-05/1.016, allocations: 12.2 kB / 1.094 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.016, allocations: 8.938 kB / 1.094 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008029/1.024, allocations: 2.332 MB / 1.096 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.025, allocations: 368.9 kB / 1.097 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/1.025, allocations: 27.52 kB / 1.097 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.027, allocations: 177.7 kB / 1.097 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/1.028, allocations: 72.81 kB / 1.097 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.028, allocations: 38.62 kB / 1.097 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001936/1.03, allocations: 0.9292 MB / 1.098 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/1.03, allocations: 0 / 1.098 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004321/1.034, allocations: 0.782 MB / 1.099 GB, free: 76.27 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.009501/1.044, allocations: 3.262 MB / 1.102 GB, free: 74.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008129/1.052, allocations: 2.093 MB / 1.104 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.052, allocations: 1.734 kB / 1.104 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00291/1.055, allocations: 0.7178 MB / 1.105 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00588/1.061, allocations: 0.7548 MB / 1.105 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0304/1.091, allocations: 9.884 MB / 1.115 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.092, allocations: 1.248 MB / 1.116 GB, free: 66.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003336/1.096, allocations: 373.6 kB / 1.117 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.097, allocations: 0.5877 MB / 1.117 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/1.097, allocations: 0 / 1.117 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09176/1.188, allocations: 42.93 MB / 1.159 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/1.189, allocations: 242.3 kB / 1.159 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.412/4.601, allocations: 7.938 kB / 1.159 GB, free: 24.95 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)