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.672/1.672, allocations: 285.4 MB / 298 MB, free: 5.961 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.001035/0.001035, allocations: 184.8 kB / 366.4 MB, free: 2.082 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.647/1.647, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008749, allocations: 96.38 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.817e-05, allocations: 7.984 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.7075, allocations: 115.3 MB / 0.971 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.827, allocations: 417.2 MB / 1.378 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.828, allocations: 84.05 kB / 1.378 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.593/4.42, allocations: 0.6235 GB / 2.002 GB, free: 167.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/4.42, allocations: 0 / 2.002 GB, free: 167.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001559/4.42, allocations: 43.33 kB / 2.002 GB, free: 167.7 MB / 0.948 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.00438/4.425, allocations: 1.778 MB / 2.004 GB, free: 167.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/4.425, allocations: 9.484 kB / 2.004 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/4.425, allocations: 145.1 kB / 2.004 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003975/4.429, allocations: 0.63 MB / 2.005 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/4.434, allocations: 1.653 MB / 2.006 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/4.434, allocations: 155.3 kB / 2.006 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/4.434, allocations: 101.3 kB / 2.006 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/4.437, allocations: 1.12 MB / 2.007 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/4.437, allocations: 1.125 kB / 2.007 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/4.437, allocations: 34.66 kB / 2.008 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/4.437, allocations: 30.72 kB / 2.008 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/4.439, allocations: 0.9751 MB / 2.009 GB, free: 166.5 MB / 0.948 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.008204/4.447, allocations: 5.439 MB / 2.014 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/4.448, allocations: 0.7031 MB / 2.015 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/4.449, allocations: 455 kB / 2.015 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007611/4.45, allocations: 1.241 MB / 2.016 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007993/4.451, allocations: 0.5509 MB / 2.017 GB, free: 162.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 2.725e-06/4.451, allocations: 3.125 kB / 2.017 GB, free: 162.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.001702/4.452, allocations: 0.8893 MB / 2.018 GB, free: 162.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/4.452, allocations: 121.1 kB / 2.018 GB, free: 162.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/4.454, allocations: 1.172 MB / 2.019 GB, free: 162.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/4.454, allocations: 44.86 kB / 2.019 GB, free: 162.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/4.455, allocations: 0.6876 MB / 2.02 GB, free: 162 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/4.455, allocations: 228.4 kB / 2.02 GB, free: 161.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/4.455, allocations: 10.75 kB / 2.02 GB, free: 161.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.359e-05/4.455, allocations: 333.6 kB / 2.02 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/4.455, allocations: 361.7 kB / 2.02 GB, free: 161.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/4.456, allocations: 0.6142 MB / 2.021 GB, free: 161.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/4.457, allocations: 418 kB / 2.021 GB, free: 161.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/4.457, allocations: 2.906 kB / 2.021 GB, free: 161.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001631/4.458, allocations: 1.047 MB / 2.022 GB, free: 161.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002968/4.459, allocations: 1.201 MB / 2.024 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/4.459, allocations: 2.844 kB / 2.024 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/4.459, allocations: 7.812 kB / 2.024 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/4.46, allocations: 280.8 kB / 2.024 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/4.46, allocations: 10.94 kB / 2.024 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/4.462, allocations: 236.4 kB / 2.024 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/4.462, allocations: 49.67 kB / 2.024 GB, free: 159.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/4.462, allocations: 3.969 kB / 2.024 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/4.463, allocations: 0.907 MB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/4.463, allocations: 0 / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/4.463, allocations: 7.875 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/4.465, allocations: 268.6 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/4.465, allocations: 6.531 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/4.466, allocations: 231.2 kB / 2.026 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/4.466, allocations: 47.61 kB / 2.026 GB, free: 159.7 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002671/4.467, allocations: 161.7 kB / 2.026 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/4.467, allocations: 152.7 kB / 2.026 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/4.469, allocations: 1.113 MB / 2.027 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/4.469, allocations: 14.02 kB / 2.027 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/4.469, allocations: 3.469 kB / 2.027 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/4.47, allocations: 0.9239 MB / 2.028 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004667/4.475, allocations: 3.137 MB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/4.475, allocations: 6.031 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/4.476, allocations: 245.3 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/4.476, allocations: 7.344 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/4.476, allocations: 30.5 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/4.476, allocations: 9.156 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/4.476, allocations: 7.031 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/4.479, allocations: 2.106 MB / 2.033 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009276/4.48, allocations: 487 kB / 2.034 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/4.48, allocations: 21 kB / 2.034 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/4.481, allocations: 185.1 kB / 2.034 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/4.482, allocations: 73.5 kB / 2.034 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.451e-05/4.482, allocations: 48.61 kB / 2.034 GB, free: 157.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001358/4.483, allocations: 0.9468 MB / 2.035 GB, free: 157.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.683e-06/4.483, allocations: 0 / 2.035 GB, free: 157.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002823/4.486, allocations: 0.8542 MB / 2.036 GB, free: 157.1 MB / 0.948 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) * 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.004841/4.491, allocations: 4.444 MB / 2.04 GB, free: 154.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002713/4.494, allocations: 1.486 MB / 2.042 GB, free: 154.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/4.494, allocations: 3.656 kB / 2.042 GB, free: 154.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009419/4.494, allocations: 0.5192 MB / 2.042 GB, free: 154.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/4.499, allocations: 0.7512 MB / 2.043 GB, free: 154.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/4.504, allocations: 2.434 MB / 2.045 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/4.505, allocations: 1.283 MB / 2.047 GB, free: 153 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00263/4.508, allocations: 0.4925 MB / 2.047 GB, free: 153 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/4.508, allocations: 0.5673 MB / 2.048 GB, free: 153 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/4.508, allocations: 0.6562 kB / 2.048 GB, free: 153 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/4.616, allocations: 51.07 MB / 2.097 GB, free: 151.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/4.616, allocations: 213.5 kB / 2.098 GB, free: 151.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/8.466, allocations: 0 / 2.098 GB, free: 151.2 MB / 0.948 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)