Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001158/0.001158, allocations: 185 kB / 377.1 MB, free: 1.539 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.817/1.817, allocations: 205.4 MB / 0.6366 GB, free: 8.566 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.0008691/0.0008691, allocations: 91.3 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 15.98 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2906, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.698/1.989, allocations: 418.2 MB / 1.397 GB, free: 280 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.99, allocations: 91.52 kB / 1.397 GB, free: 280 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.981/3.97, allocations: 0.6254 GB / 2.022 GB, free: 56.07 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.324e-06/3.97, allocations: 0 / 2.022 GB, free: 56.07 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002616/3.971, allocations: 43.83 kB / 2.022 GB, free: 56.03 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.007119/3.978, allocations: 2.093 MB / 2.024 GB, free: 53.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/3.978, allocations: 8.031 kB / 2.024 GB, free: 53.89 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005818/3.979, allocations: 151.7 kB / 2.025 GB, free: 53.74 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/3.982, allocations: 0.6338 MB / 2.025 GB, free: 53.11 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/3.986, allocations: 1.682 MB / 2.027 GB, free: 51.41 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/3.987, allocations: 149.4 kB / 2.027 GB, free: 51.25 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/3.987, allocations: 100 kB / 2.027 GB, free: 51.15 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/3.989, allocations: 1.341 MB / 2.028 GB, free: 49.78 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/3.989, allocations: 7.984 kB / 2.028 GB, free: 49.77 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/3.99, allocations: 36 kB / 2.028 GB, free: 49.73 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/3.99, allocations: 24 kB / 2.028 GB, free: 49.71 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/3.993, allocations: 1.398 MB / 2.03 GB, free: 48.31 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.007062/4, allocations: 5.433 MB / 2.035 GB, free: 42.59 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/4.002, allocations: 0.9666 MB / 2.036 GB, free: 41.62 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008053/4.003, allocations: 1.243 MB / 2.037 GB, free: 40.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/4.005, allocations: 0.7173 MB / 2.038 GB, free: 39.37 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 4.067e-06/4.005, allocations: 3.984 kB / 2.038 GB, free: 39.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.004666/4.009, allocations: 1.863 MB / 2.04 GB, free: 37.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/4.009, allocations: 59.97 kB / 2.04 GB, free: 37.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/4.011, allocations: 1.184 MB / 2.041 GB, free: 36.24 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/4.011, allocations: 45.7 kB / 2.041 GB, free: 36.19 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000524/4.011, allocations: 0.6859 MB / 2.042 GB, free: 35.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/4.012, allocations: 226.2 kB / 2.042 GB, free: 35.28 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/4.012, allocations: 16 kB / 2.042 GB, free: 35.26 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/4.012, allocations: 334 kB / 2.042 GB, free: 34.93 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/4.013, allocations: 0.564 MB / 2.043 GB, free: 34.36 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/4.015, allocations: 0.8309 MB / 2.044 GB, free: 33.42 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/4.016, allocations: 0.6085 MB / 2.044 GB, free: 32.81 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/4.016, allocations: 0 / 2.044 GB, free: 32.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003384/4.02, allocations: 1.469 MB / 2.046 GB, free: 31.33 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/4.02, allocations: 1.213 MB / 2.047 GB, free: 30 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/4.02, allocations: 0 / 2.047 GB, free: 30 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/4.02, allocations: 8 kB / 2.047 GB, free: 29.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/4.021, allocations: 271.7 kB / 2.047 GB, free: 29.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/4.021, allocations: 7.938 kB / 2.047 GB, free: 29.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/4.023, allocations: 242.9 kB / 2.047 GB, free: 29.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/4.023, allocations: 55.95 kB / 2.047 GB, free: 29.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/4.024, allocations: 4 kB / 2.047 GB, free: 29.42 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/4.027, allocations: 1.313 MB / 2.049 GB, free: 28.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/4.027, allocations: 4 kB / 2.049 GB, free: 28.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/4.027, allocations: 4 kB / 2.049 GB, free: 28.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/4.028, allocations: 279.9 kB / 2.049 GB, free: 27.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/4.028, allocations: 4 kB / 2.049 GB, free: 27.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/4.03, allocations: 227.2 kB / 2.049 GB, free: 27.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/4.03, allocations: 51.92 kB / 2.049 GB, free: 27.54 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.001213/4.031, allocations: 420.2 kB / 2.05 GB, free: 27.12 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/4.031, allocations: 150.1 kB / 2.05 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/4.035, allocations: 1.546 MB / 2.051 GB, free: 25.42 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/4.035, allocations: 8 kB / 2.051 GB, free: 25.41 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/4.035, allocations: 0 / 2.051 GB, free: 25.41 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00286/4.038, allocations: 1.355 MB / 2.053 GB, free: 24.02 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006433/4.045, allocations: 3.432 MB / 2.056 GB, free: 20.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/4.045, allocations: 4 kB / 2.056 GB, free: 20.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/4.046, allocations: 239.7 kB / 2.056 GB, free: 20.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/4.046, allocations: 15.92 kB / 2.056 GB, free: 20.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/4.046, allocations: 31.98 kB / 2.056 GB, free: 20.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/4.046, allocations: 11.94 kB / 2.056 GB, free: 20.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/4.046, allocations: 7.953 kB / 2.056 GB, free: 20.15 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/4.051, allocations: 2.729 MB / 2.059 GB, free: 17.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009814/4.052, allocations: 491.7 kB / 2.059 GB, free: 16.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/4.052, allocations: 23.98 kB / 2.059 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/4.053, allocations: 179.7 kB / 2.06 GB, free: 16.45 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/4.054, allocations: 76.41 kB / 2.06 GB, free: 16.38 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.381e-05/4.054, allocations: 47.97 kB / 2.06 GB, free: 16.33 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001351/4.055, allocations: 0.9605 MB / 2.061 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3e-07/4.055, allocations: 0 / 2.061 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002467/4.058, allocations: 0.85 MB / 2.061 GB, free: 14.52 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.006918/4.064, allocations: 5.069 MB / 2.066 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004757/4.069, allocations: 2.062 MB / 2.068 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/4.069, allocations: 3.938 kB / 2.068 GB, free: 7.309 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/4.071, allocations: 0.7225 MB / 2.069 GB, free: 6.59 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/4.075, allocations: 0.7672 MB / 2.07 GB, free: 5.836 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/4.094, allocations: 11.73 MB / 2.081 GB, free: 9.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/4.095, allocations: 1.281 MB / 2.083 GB, free: 8.371 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002335/4.098, allocations: 385.5 kB / 2.083 GB, free: 8.004 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/4.099, allocations: 0.5929 MB / 2.084 GB, free: 7.41 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/4.099, allocations: 0 / 2.084 GB, free: 7.41 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7594/4.858, allocations: 48.35 MB / 2.131 GB, free: 146.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/4.858, allocations: 217.6 kB / 2.131 GB, free: 145.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.968/8.826, allocations: 0 / 2.131 GB, free: 145.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)