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.662/1.662, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001218/0.001218, allocations: 189.7 kB / 371.8 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 2/2, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009088/0.0009087, allocations: 101.4 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004643, allocations: 11.72 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.29, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.474, allocations: 417.3 MB / 1.387 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.475, allocations: 88.02 kB / 1.387 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.46/3.935, allocations: 0.6253 GB / 2.012 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.784e-06/3.935, allocations: 0 / 2.012 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001554/3.935, allocations: 46.72 kB / 2.012 GB, free: 119.7 MB / 0.9323 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.005201/3.94, allocations: 2.101 MB / 2.014 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/3.94, allocations: 8.031 kB / 2.015 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003235/3.94, allocations: 153.5 kB / 2.015 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/3.944, allocations: 0.6262 MB / 2.015 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/3.948, allocations: 1.674 MB / 2.017 GB, free: 115 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/3.948, allocations: 149.4 kB / 2.017 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/3.948, allocations: 100 kB / 2.017 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/3.951, allocations: 1.338 MB / 2.018 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/3.951, allocations: 3.938 kB / 2.018 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/3.951, allocations: 36 kB / 2.018 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/3.951, allocations: 31.31 kB / 2.019 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/3.954, allocations: 1.397 MB / 2.02 GB, free: 111.9 MB / 0.9323 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.007787/3.962, allocations: 5.438 MB / 2.025 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/3.965, allocations: 0.9645 MB / 2.026 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/3.965, allocations: 1.247 MB / 2.027 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/3.967, allocations: 0.7136 MB / 2.028 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 3.115e-06/3.967, allocations: 4 kB / 2.028 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.004968/3.972, allocations: 1.859 MB / 2.03 GB, free: 101 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/3.972, allocations: 59.97 kB / 2.03 GB, free: 101 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/3.974, allocations: 1.188 MB / 2.031 GB, free: 99.77 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/3.974, allocations: 41.7 kB / 2.031 GB, free: 99.73 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/3.975, allocations: 0.6862 MB / 2.032 GB, free: 99.03 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/3.975, allocations: 236.6 kB / 2.032 GB, free: 98.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/3.975, allocations: 16 kB / 2.032 GB, free: 98.78 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/3.975, allocations: 330 kB / 2.032 GB, free: 98.45 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/3.976, allocations: 0.5641 MB / 2.033 GB, free: 97.89 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/3.978, allocations: 0.8283 MB / 2.034 GB, free: 96.95 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/3.979, allocations: 0.6126 MB / 2.034 GB, free: 96.33 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/3.979, allocations: 3.938 kB / 2.034 GB, free: 96.33 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003608/3.983, allocations: 1.465 MB / 2.036 GB, free: 94.85 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002671/3.983, allocations: 1.201 MB / 2.037 GB, free: 93.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/3.983, allocations: 4 kB / 2.037 GB, free: 93.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/3.983, allocations: 8 kB / 2.037 GB, free: 93.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/3.984, allocations: 271.7 kB / 2.037 GB, free: 93.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/3.984, allocations: 11.94 kB / 2.037 GB, free: 93.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/3.987, allocations: 242.7 kB / 2.037 GB, free: 93.01 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/3.987, allocations: 51.97 kB / 2.037 GB, free: 92.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/3.987, allocations: 8 kB / 2.037 GB, free: 92.95 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003067/3.99, allocations: 1.309 MB / 2.039 GB, free: 91.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/3.99, allocations: 4 kB / 2.039 GB, free: 91.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/3.99, allocations: 8 kB / 2.039 GB, free: 91.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/3.991, allocations: 275.9 kB / 2.039 GB, free: 91.35 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/3.991, allocations: 8 kB / 2.039 GB, free: 91.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/3.993, allocations: 223.2 kB / 2.039 GB, free: 91.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/3.993, allocations: 55.92 kB / 2.039 GB, free: 91.07 MB / 0.9323 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 (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.0008608/3.994, allocations: 420.9 kB / 2.04 GB, free: 90.65 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/3.994, allocations: 146.1 kB / 2.04 GB, free: 90.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/3.997, allocations: 1.538 MB / 2.041 GB, free: 88.96 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/3.997, allocations: 12 kB / 2.041 GB, free: 88.95 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/3.997, allocations: 7.938 kB / 2.041 GB, free: 88.94 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002998/4, allocations: 1.351 MB / 2.043 GB, free: 87.56 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/4.007, allocations: 3.429 MB / 2.046 GB, free: 83.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/4.007, allocations: 4 kB / 2.046 GB, free: 83.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/4.008, allocations: 244 kB / 2.046 GB, free: 83.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/4.008, allocations: 8 kB / 2.046 GB, free: 83.72 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/4.009, allocations: 31.97 kB / 2.046 GB, free: 83.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/4.009, allocations: 7.938 kB / 2.046 GB, free: 83.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/4.009, allocations: 15.45 kB / 2.046 GB, free: 83.67 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/4.014, allocations: 2.737 MB / 2.049 GB, free: 80.68 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/4.015, allocations: 491.7 kB / 2.049 GB, free: 80.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/4.015, allocations: 19.98 kB / 2.049 GB, free: 80.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/4.017, allocations: 191.6 kB / 2.05 GB, free: 79.96 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/4.017, allocations: 64.42 kB / 2.05 GB, free: 79.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/4.017, allocations: 51.95 kB / 2.05 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001363/4.018, allocations: 0.9644 MB / 2.051 GB, free: 78.88 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/4.018, allocations: 0 / 2.051 GB, free: 78.88 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002418/4.021, allocations: 0.8539 MB / 2.052 GB, free: 78.03 MB / 0.9323 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.006548/4.027, allocations: 5.058 MB / 2.057 GB, free: 72.89 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004699/4.032, allocations: 2.07 MB / 2.059 GB, free: 70.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/4.032, allocations: 7.938 kB / 2.059 GB, free: 70.79 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/4.034, allocations: 0.7264 MB / 2.059 GB, free: 70.06 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004029/4.038, allocations: 0.7484 MB / 2.06 GB, free: 69.34 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/4.056, allocations: 11.74 MB / 2.071 GB, free: 57.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/4.057, allocations: 1.269 MB / 2.073 GB, free: 55.88 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00211/4.059, allocations: 383.1 kB / 2.073 GB, free: 55.53 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007596/4.06, allocations: 0.5968 MB / 2.074 GB, free: 54.93 MB / 0.9323 GB Notification: Performance of SimCode: time 8.145e-06/4.06, allocations: 0 / 2.074 GB, free: 54.93 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07482/4.135, allocations: 48.38 MB / 2.121 GB, free: 7.191 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/4.135, allocations: 233.2 kB / 2.121 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.846/7.981, allocations: 0 / 2.121 GB, free: 6.953 MB / 0.9323 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)