Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.365/2.365, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001392/0.001392, allocations: 184.8 kB / 360.6 MB, free: 7.254 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.147/2.147, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001128/0.001127, allocations: 89.66 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.358e-05, allocations: 4 kB / 0.8508 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8068, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/2.089, allocations: 416.2 MB / 1.37 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/2.09, allocations: 87.84 kB / 1.37 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.392/5.482, allocations: 0.6193 GB / 1.989 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.853e-06/5.482, allocations: 3.938 kB / 1.989 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001969/5.482, allocations: 45.12 kB / 1.989 GB, free: 160.1 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.005065/5.487, allocations: 1.757 MB / 1.991 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/5.487, allocations: 7.125 kB / 1.991 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/5.494, allocations: 0.6324 MB / 1.992 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005736/5.499, allocations: 1.626 MB / 1.993 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/5.5, allocations: 110.8 kB / 1.993 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/5.5, allocations: 62.19 kB / 1.993 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00259/5.503, allocations: 0.905 MB / 1.994 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/5.505, allocations: 0.987 MB / 1.995 GB, free: 159 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/5.505, allocations: 0 / 1.995 GB, free: 159 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/5.505, allocations: 3.75 kB / 1.995 GB, free: 159 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/5.505, allocations: 23.44 kB / 1.995 GB, free: 159 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.01035/5.516, allocations: 5.189 MB / 2 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/5.523, allocations: 1.083 MB / 2.001 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/5.525, allocations: 431.3 kB / 2.002 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/5.526, allocations: 1.241 MB / 2.003 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/5.527, allocations: 0.5172 MB / 2.003 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 3.437e-06/5.527, allocations: 0 / 2.003 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.00297/5.53, allocations: 0.8727 MB / 2.004 GB, free: 155 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/5.53, allocations: 110.5 kB / 2.004 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/5.532, allocations: 0.9985 MB / 2.005 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002948/5.532, allocations: 32.64 kB / 2.005 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/5.533, allocations: 0.6748 MB / 2.006 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/5.533, allocations: 220.9 kB / 2.006 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/5.533, allocations: 0 / 2.006 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/5.534, allocations: 333.3 kB / 2.007 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008262/5.534, allocations: 340.5 kB / 2.007 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/5.535, allocations: 0.5802 MB / 2.008 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/5.537, allocations: 407.6 kB / 2.008 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/5.537, allocations: 2.75 kB / 2.008 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003222/5.54, allocations: 0.9828 MB / 2.009 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002896/5.54, allocations: 1.19 MB / 2.01 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/5.541, allocations: 2.594 kB / 2.01 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/5.541, allocations: 9.375 kB / 2.01 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/5.543, allocations: 272.7 kB / 2.01 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/5.543, allocations: 13.2 kB / 2.01 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003133/5.546, allocations: 206.3 kB / 2.011 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/5.547, allocations: 50.09 kB / 2.011 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/5.547, allocations: 6.719 kB / 2.011 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002892/5.549, allocations: 0.8151 MB / 2.011 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/5.55, allocations: 3.719 kB / 2.011 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/5.55, allocations: 13.05 kB / 2.011 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/5.552, allocations: 264.6 kB / 2.012 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/5.552, allocations: 14.14 kB / 2.012 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/5.555, allocations: 203.1 kB / 2.012 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/5.556, allocations: 46.53 kB / 2.012 GB, free: 152.4 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.0003813/5.556, allocations: 134.6 kB / 2.012 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003241/5.559, allocations: 0.8646 MB / 2.013 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/5.56, allocations: 137.2 kB / 2.013 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/5.563, allocations: 1.049 MB / 2.014 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/5.564, allocations: 11.03 kB / 2.014 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/5.564, allocations: 1.125 kB / 2.014 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002615/5.566, allocations: 0.8935 MB / 2.015 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00819/5.574, allocations: 2.921 MB / 2.018 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/5.574, allocations: 4.719 kB / 2.018 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/5.577, allocations: 242.9 kB / 2.018 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/5.577, allocations: 7.719 kB / 2.018 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/5.577, allocations: 18.94 kB / 2.018 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.556e-05/5.577, allocations: 13.91 kB / 2.018 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/5.577, allocations: 10.02 kB / 2.018 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/5.582, allocations: 1.983 MB / 2.02 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/5.583, allocations: 459.7 kB / 2.02 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/5.584, allocations: 7.422 kB / 2.02 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/5.587, allocations: 167.5 kB / 2.021 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/5.587, allocations: 72.73 kB / 2.021 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/5.587, allocations: 47.61 kB / 2.021 GB, free: 150 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001718/5.589, allocations: 0.7582 MB / 2.021 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.92e-07/5.589, allocations: 2.219 kB / 2.021 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004702/5.593, allocations: 0.8267 MB / 2.022 GB, free: 149.8 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.007436/5.601, allocations: 4.374 MB / 2.027 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003478/5.604, allocations: 1.405 MB / 2.028 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/5.605, allocations: 6.969 kB / 2.028 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/5.606, allocations: 493.9 kB / 2.028 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/5.612, allocations: 0.635 MB / 2.029 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007898/5.62, allocations: 2.264 MB / 2.031 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/5.621, allocations: 1.263 MB / 2.032 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004117/5.625, allocations: 454 kB / 2.033 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/5.627, allocations: 0.552 MB / 2.033 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.393e-06/5.627, allocations: 0 / 2.033 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/5.768, allocations: 41.55 MB / 2.074 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/5.769, allocations: 168 kB / 2.074 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/10.06, allocations: 2.734 kB / 2.074 GB, free: 144.2 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)