Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001305/0.001305, allocations: 177 kB / 371.8 MB, free: 10.27 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.956/1.956, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001077/0.001076, allocations: 94.86 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 12.19 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.456, allocations: 417.3 MB / 1.387 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.456, allocations: 93.38 kB / 1.387 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.516/3.972, allocations: 0.6248 GB / 2.012 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.455e-06/3.972, allocations: 4 kB / 2.012 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002682/3.972, allocations: 47.14 kB / 2.012 GB, free: 120.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.006477/3.979, allocations: 2.067 MB / 2.014 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/3.979, allocations: 12.03 kB / 2.014 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003942/3.979, allocations: 149.6 kB / 2.014 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/3.983, allocations: 0.6301 MB / 2.015 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/3.987, allocations: 1.642 MB / 2.016 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/3.987, allocations: 164.2 kB / 2.016 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/3.987, allocations: 99.91 kB / 2.016 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/3.99, allocations: 1.334 MB / 2.018 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/3.99, allocations: 0 / 2.018 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/3.99, allocations: 36 kB / 2.018 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/3.99, allocations: 27.98 kB / 2.018 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/3.993, allocations: 1.382 MB / 2.019 GB, free: 112.8 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.007269/4.001, allocations: 5.367 MB / 2.024 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/4.006, allocations: 1.367 MB / 2.026 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008801/4.007, allocations: 1.243 MB / 2.027 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/4.009, allocations: 0.7017 MB / 2.028 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 4.238e-06/4.009, allocations: 4 kB / 2.028 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.005215/4.014, allocations: 1.824 MB / 2.029 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/4.014, allocations: 59.97 kB / 2.03 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/4.017, allocations: 1.142 MB / 2.031 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/4.017, allocations: 45.7 kB / 2.031 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007832/4.018, allocations: 0.6705 MB / 2.031 GB, free: 99.68 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/4.018, allocations: 232.6 kB / 2.032 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/4.018, allocations: 16 kB / 2.032 GB, free: 99.44 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/4.018, allocations: 334 kB / 2.032 GB, free: 99.11 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/4.02, allocations: 0.5484 MB / 2.032 GB, free: 98.55 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/4.021, allocations: 0.8206 MB / 2.033 GB, free: 97.62 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/4.023, allocations: 0.6048 MB / 2.034 GB, free: 97.02 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/4.023, allocations: 0 / 2.034 GB, free: 97.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003851/4.027, allocations: 1.442 MB / 2.035 GB, free: 95.56 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003864/4.027, allocations: 1.202 MB / 2.036 GB, free: 94.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/4.027, allocations: 4 kB / 2.036 GB, free: 94.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.125e-05/4.027, allocations: 8 kB / 2.036 GB, free: 94.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/4.029, allocations: 275.2 kB / 2.037 GB, free: 93.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/4.029, allocations: 11.94 kB / 2.037 GB, free: 93.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/4.031, allocations: 235 kB / 2.037 GB, free: 93.72 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/4.031, allocations: 47.97 kB / 2.037 GB, free: 93.67 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/4.031, allocations: 4 kB / 2.037 GB, free: 93.67 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003199/4.034, allocations: 1.29 MB / 2.038 GB, free: 92.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/4.034, allocations: 7.984 kB / 2.038 GB, free: 92.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/4.034, allocations: 8 kB / 2.038 GB, free: 92.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/4.035, allocations: 271.9 kB / 2.038 GB, free: 92.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/4.036, allocations: 8 kB / 2.039 GB, free: 92.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/4.038, allocations: 223.2 kB / 2.039 GB, free: 91.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/4.038, allocations: 51.92 kB / 2.039 GB, free: 91.81 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.001129/4.039, allocations: 420.8 kB / 2.039 GB, free: 91.39 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005351/4.04, allocations: 146.2 kB / 2.039 GB, free: 91.25 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/4.044, allocations: 1.514 MB / 2.041 GB, free: 89.73 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/4.044, allocations: 4 kB / 2.041 GB, free: 89.72 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/4.044, allocations: 7.984 kB / 2.041 GB, free: 89.71 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002912/4.047, allocations: 1.331 MB / 2.042 GB, free: 88.35 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007708/4.054, allocations: 3.385 MB / 2.045 GB, free: 84.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/4.054, allocations: 4 kB / 2.045 GB, free: 84.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/4.055, allocations: 239.9 kB / 2.046 GB, free: 84.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/4.056, allocations: 8 kB / 2.046 GB, free: 84.56 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.327e-05/4.056, allocations: 35.59 kB / 2.046 GB, free: 84.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/4.056, allocations: 11.94 kB / 2.046 GB, free: 84.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/4.056, allocations: 11.95 kB / 2.046 GB, free: 84.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/4.061, allocations: 2.681 MB / 2.048 GB, free: 81.57 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/4.063, allocations: 483.8 kB / 2.049 GB, free: 81.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005608/4.063, allocations: 23.98 kB / 2.049 GB, free: 81.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/4.065, allocations: 183.7 kB / 2.049 GB, free: 80.86 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/4.065, allocations: 68.03 kB / 2.049 GB, free: 80.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/4.065, allocations: 55.84 kB / 2.049 GB, free: 80.74 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001922/4.067, allocations: 0.9241 MB / 2.05 GB, free: 79.82 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.51e-07/4.067, allocations: 4 kB / 2.05 GB, free: 79.81 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003764/4.071, allocations: 0.846 MB / 2.051 GB, free: 78.96 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.008329/4.08, allocations: 5.009 MB / 2.056 GB, free: 73.86 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005393/4.085, allocations: 2.042 MB / 2.058 GB, free: 71.79 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/4.085, allocations: 8.125 kB / 2.058 GB, free: 71.79 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/4.087, allocations: 0.7107 MB / 2.058 GB, free: 71.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/4.091, allocations: 0.7624 MB / 2.059 GB, free: 70.34 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/4.114, allocations: 11.43 MB / 2.07 GB, free: 58.48 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/4.115, allocations: 1.265 MB / 2.072 GB, free: 57.19 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002416/4.117, allocations: 373.4 kB / 2.072 GB, free: 56.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/4.119, allocations: 0.5774 MB / 2.072 GB, free: 56.27 MB / 0.9323 GB Notification: Performance of SimCode: time 1.834e-06/4.119, allocations: 0 / 2.072 GB, free: 56.27 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08793/4.206, allocations: 47.74 MB / 2.119 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/4.207, allocations: 213.1 kB / 2.119 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.749/7.956, allocations: 7.656 kB / 2.119 GB, free: 8.93 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)