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.627/1.627, allocations: 285.6 MB / 293.1 MB, free: 10.13 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.001171/0.001171, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.676/1.676, allocations: 205.2 MB / 0.62 GB, free: 11.59 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.0009195/0.0009195, allocations: 89.5 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.058e-05, allocations: 0 / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/0.7305, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.823, allocations: 416.5 MB / 1.371 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.823, allocations: 93.81 kB / 1.371 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.605/4.428, allocations: 0.6199 GB / 1.991 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.112e-06/4.429, allocations: 6.188 kB / 1.991 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001456/4.429, allocations: 47.83 kB / 1.991 GB, free: 158.5 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.003337/4.432, allocations: 1.778 MB / 1.993 GB, free: 158 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/4.432, allocations: 7.781 kB / 1.993 GB, free: 158 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/4.435, allocations: 0.6296 MB / 1.994 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/4.438, allocations: 1.654 MB / 1.995 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/4.439, allocations: 109.1 kB / 1.995 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/4.439, allocations: 59.34 kB / 1.995 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001464/4.44, allocations: 0.9287 MB / 1.996 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/4.442, allocations: 0.9909 MB / 1.997 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/4.442, allocations: 6.562 kB / 1.997 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/4.442, allocations: 6.781 kB / 1.997 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/4.442, allocations: 26.98 kB / 1.997 GB, free: 157.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.005911/4.448, allocations: 5.245 MB / 2.002 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/4.449, allocations: 0.6827 MB / 2.003 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/4.449, allocations: 435.9 kB / 2.003 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/4.45, allocations: 1.242 MB / 2.005 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006757/4.451, allocations: 0.5283 MB / 2.005 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 3.266e-06/4.451, allocations: 3.781 kB / 2.005 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.001858/4.453, allocations: 0.9096 MB / 2.006 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/4.453, allocations: 117.3 kB / 2.006 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/4.454, allocations: 1.036 MB / 2.007 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/4.454, allocations: 29.64 kB / 2.007 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/4.455, allocations: 0.6852 MB / 2.008 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/4.455, allocations: 221.6 kB / 2.008 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/4.455, allocations: 3.906 kB / 2.008 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/4.455, allocations: 334.9 kB / 2.008 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/4.455, allocations: 352.3 kB / 2.009 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/4.456, allocations: 0.5913 MB / 2.009 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008853/4.457, allocations: 427.8 kB / 2.01 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/4.457, allocations: 3.875 kB / 2.01 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001832/4.459, allocations: 1.027 MB / 2.011 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002819/4.459, allocations: 1.195 MB / 2.012 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/4.459, allocations: 3.625 kB / 2.012 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/4.459, allocations: 7.562 kB / 2.012 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/4.46, allocations: 280.8 kB / 2.012 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/4.46, allocations: 5.719 kB / 2.012 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/4.462, allocations: 206.9 kB / 2.012 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/4.462, allocations: 55.75 kB / 2.012 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/4.462, allocations: 8.672 kB / 2.012 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001728/4.464, allocations: 0.8495 MB / 2.013 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/4.464, allocations: 6.438 kB / 2.013 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/4.464, allocations: 8.938 kB / 2.013 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/4.465, allocations: 269.8 kB / 2.014 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/4.465, allocations: 8.562 kB / 2.014 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/4.467, allocations: 201.3 kB / 2.014 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/4.467, allocations: 53.12 kB / 2.014 GB, free: 150.8 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.0002758/4.467, allocations: 131.2 kB / 2.014 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001835/4.469, allocations: 0.91 MB / 2.015 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/4.469, allocations: 146.7 kB / 2.015 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/4.472, allocations: 1.095 MB / 2.016 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/4.472, allocations: 12.3 kB / 2.016 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/4.472, allocations: 1 kB / 2.016 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/4.473, allocations: 0.9261 MB / 2.017 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005441/4.479, allocations: 2.996 MB / 2.02 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/4.479, allocations: 7.812 kB / 2.02 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/4.48, allocations: 248.8 kB / 2.02 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/4.48, allocations: 7.375 kB / 2.02 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/4.48, allocations: 18.08 kB / 2.02 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/4.48, allocations: 8.578 kB / 2.02 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/4.48, allocations: 6.438 kB / 2.02 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/4.484, allocations: 2.051 MB / 2.022 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/4.484, allocations: 476.6 kB / 2.023 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/4.485, allocations: 7.047 kB / 2.023 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/4.486, allocations: 164.5 kB / 2.023 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/4.486, allocations: 74.61 kB / 2.023 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/4.486, allocations: 49.78 kB / 2.023 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001383/4.488, allocations: 0.7917 MB / 2.024 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/4.488, allocations: 3.25 kB / 2.024 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003056/4.491, allocations: 0.8261 MB / 2.025 GB, free: 148.2 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.005115/4.496, allocations: 4.431 MB / 2.029 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002379/4.498, allocations: 1.43 MB / 2.03 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/4.498, allocations: 2.25 kB / 2.03 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/4.499, allocations: 0.4953 MB / 2.031 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/4.503, allocations: 0.6303 MB / 2.031 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/4.508, allocations: 2.333 MB / 2.034 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/4.509, allocations: 1.283 MB / 2.035 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002614/4.512, allocations: 465.7 kB / 2.035 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00083/4.513, allocations: 0.5652 MB / 2.036 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/4.513, allocations: 2.562 kB / 2.036 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08631/4.599, allocations: 42.21 MB / 2.077 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/4.599, allocations: 191.4 kB / 2.077 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/8.142, allocations: 4 kB / 2.077 GB, free: 142.6 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)