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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.37/2.37, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001401/0.001401, allocations: 168.9 kB / 360.6 MB, free: 7.312 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.032/2.032, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001085/0.001084, allocations: 96.66 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.982e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8295, allocations: 115.2 MB / 0.9634 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/2.093, allocations: 416.2 MB / 1.37 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/2.094, allocations: 88.02 kB / 1.37 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.372/5.466, allocations: 0.6199 GB / 1.99 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.923e-06/5.466, allocations: 0 / 1.99 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001938/5.466, allocations: 48.02 kB / 1.99 GB, free: 159.6 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.005227/5.471, allocations: 1.775 MB / 1.992 GB, free: 159 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/5.471, allocations: 16.67 kB / 1.992 GB, free: 159 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006176/5.477, allocations: 0.629 MB / 1.992 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005391/5.483, allocations: 1.649 MB / 1.994 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/5.483, allocations: 109.6 kB / 1.994 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/5.483, allocations: 62.97 kB / 1.994 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002546/5.486, allocations: 0.9259 MB / 1.995 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/5.488, allocations: 0.9969 MB / 1.996 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/5.488, allocations: 10.03 kB / 1.996 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/5.489, allocations: 0 / 1.996 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/5.489, allocations: 25.38 kB / 1.996 GB, free: 158.4 MB / 0.9323 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.01042/5.499, allocations: 5.241 MB / 2.001 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/5.501, allocations: 0.6837 MB / 2.002 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009942/5.502, allocations: 438.8 kB / 2.002 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009776/5.503, allocations: 1.242 MB / 2.003 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/5.504, allocations: 0.5298 MB / 2.004 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 3.516e-06/5.504, allocations: 2.734 kB / 2.004 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.003183/5.507, allocations: 0.9146 MB / 2.005 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/5.507, allocations: 111.7 kB / 2.005 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/5.509, allocations: 1.038 MB / 2.006 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002354/5.51, allocations: 32.61 kB / 2.006 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007298/5.51, allocations: 0.6917 MB / 2.007 GB, free: 154 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/5.511, allocations: 218.8 kB / 2.007 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/5.511, allocations: 0 / 2.007 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/5.511, allocations: 334.3 kB / 2.007 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008326/5.512, allocations: 350.6 kB / 2.007 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/5.513, allocations: 0.5934 MB / 2.008 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/5.514, allocations: 427.7 kB / 2.008 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/5.514, allocations: 2.625 kB / 2.008 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003316/5.518, allocations: 1.026 MB / 2.009 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/5.518, allocations: 1.199 MB / 2.011 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/5.518, allocations: 5.594 kB / 2.011 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/5.518, allocations: 6.375 kB / 2.011 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/5.521, allocations: 278.6 kB / 2.011 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/5.521, allocations: 6.562 kB / 2.011 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/5.524, allocations: 212.7 kB / 2.011 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/5.524, allocations: 51.14 kB / 2.011 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/5.524, allocations: 3.219 kB / 2.011 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003194/5.527, allocations: 0.8569 MB / 2.012 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/5.527, allocations: 3.344 kB / 2.012 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/5.527, allocations: 6.156 kB / 2.012 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/5.53, allocations: 274.8 kB / 2.012 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/5.53, allocations: 10 kB / 2.012 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/5.533, allocations: 194.5 kB / 2.012 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/5.534, allocations: 47.66 kB / 2.012 GB, free: 151.9 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 () * 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.0004415/5.534, allocations: 134.4 kB / 2.013 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003684/5.538, allocations: 0.9109 MB / 2.013 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006369/5.539, allocations: 142.1 kB / 2.014 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/5.543, allocations: 1.088 MB / 2.015 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/5.543, allocations: 6.938 kB / 2.015 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/5.543, allocations: 7.438 kB / 2.015 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002963/5.546, allocations: 0.9308 MB / 2.016 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008507/5.555, allocations: 2.987 MB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/5.555, allocations: 3.75 kB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/5.557, allocations: 244.9 kB / 2.019 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.37e-05/5.557, allocations: 10.86 kB / 2.019 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/5.557, allocations: 23.81 kB / 2.019 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-05/5.557, allocations: 9.75 kB / 2.019 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/5.557, allocations: 13.86 kB / 2.019 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005044/5.562, allocations: 2.046 MB / 2.021 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/5.564, allocations: 467.6 kB / 2.021 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/5.564, allocations: 10.31 kB / 2.021 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/5.566, allocations: 163.8 kB / 2.021 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/5.567, allocations: 74.48 kB / 2.021 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/5.567, allocations: 49.48 kB / 2.022 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00174/5.569, allocations: 0.7907 MB / 2.022 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.41e-07/5.569, allocations: 2.969 kB / 2.022 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003821/5.573, allocations: 0.8341 MB / 2.023 GB, free: 149.3 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) * 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.007153/5.58, allocations: 4.434 MB / 2.027 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003311/5.583, allocations: 1.425 MB / 2.029 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/5.583, allocations: 1.062 kB / 2.029 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/5.585, allocations: 0.4978 MB / 2.029 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005848/5.59, allocations: 0.6346 MB / 2.03 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/5.598, allocations: 2.325 MB / 2.032 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/5.599, allocations: 1.283 MB / 2.033 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003958/5.603, allocations: 471.1 kB / 2.034 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/5.605, allocations: 0.5625 MB / 2.034 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.614e-06/5.605, allocations: 0 / 2.034 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/5.741, allocations: 42.21 MB / 2.076 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/5.741, allocations: 175.6 kB / 2.076 GB, free: 143.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.477/10.22, allocations: 0 / 2.076 GB, free: 143.6 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)