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.725/2.725, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.00153/0.00153, allocations: 175 kB / 370.8 MB, free: 10.9 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.097/2.097, allocations: 205.4 MB / 0.6295 GB, free: 10.52 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.001136/0.001135, allocations: 93.55 kB / 0.7428 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005222, allocations: 12 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.575, allocations: 416.9 MB / 1.385 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/1.576, allocations: 93.77 kB / 1.386 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.403/4.979, allocations: 0.6248 GB / 2.01 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.875e-06/4.979, allocations: 0 / 2.01 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002637/4.979, allocations: 46.83 kB / 2.01 GB, free: 123.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.007931/4.987, allocations: 2.064 MB / 2.012 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/4.987, allocations: 12.03 kB / 2.012 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005981/4.988, allocations: 147.7 kB / 2.012 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006137/4.994, allocations: 0.6316 MB / 2.013 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00591/5, allocations: 1.652 MB / 2.015 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/5, allocations: 145.4 kB / 2.015 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/5.001, allocations: 107.8 kB / 2.015 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/5.006, allocations: 1.33 MB / 2.016 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/5.006, allocations: 4 kB / 2.016 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/5.006, allocations: 36 kB / 2.016 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/5.006, allocations: 24 kB / 2.016 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006747/5.013, allocations: 1.378 MB / 2.018 GB, free: 115.4 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.01141/5.024, allocations: 5.377 MB / 2.023 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/5.035, allocations: 1.364 MB / 2.024 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/5.036, allocations: 1.239 MB / 2.025 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003199/5.039, allocations: 0.7018 MB / 2.026 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 5.641e-06/5.039, allocations: 0 / 2.026 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.01019/5.049, allocations: 1.832 MB / 2.028 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/5.049, allocations: 63.91 kB / 2.028 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/5.052, allocations: 1.146 MB / 2.029 GB, free: 103 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003478/5.053, allocations: 41.7 kB / 2.029 GB, free: 103 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009245/5.054, allocations: 0.6623 MB / 2.03 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/5.054, allocations: 228.7 kB / 2.03 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/5.054, allocations: 20 kB / 2.03 GB, free: 102 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/5.054, allocations: 334 kB / 2.03 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/5.057, allocations: 0.5445 MB / 2.031 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/5.061, allocations: 0.8253 MB / 2.032 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/5.064, allocations: 0.6009 MB / 2.032 GB, free: 99.62 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/5.064, allocations: 4 kB / 2.032 GB, free: 99.61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007808/5.072, allocations: 1.438 MB / 2.034 GB, free: 98.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002914/5.073, allocations: 1.206 MB / 2.035 GB, free: 96.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/5.073, allocations: 4 kB / 2.035 GB, free: 96.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/5.073, allocations: 8 kB / 2.035 GB, free: 96.83 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/5.075, allocations: 271.6 kB / 2.035 GB, free: 96.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/5.075, allocations: 8 kB / 2.035 GB, free: 96.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/5.079, allocations: 242.9 kB / 2.035 GB, free: 96.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/5.079, allocations: 47.97 kB / 2.035 GB, free: 96.27 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/5.079, allocations: 4 kB / 2.035 GB, free: 96.27 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006359/5.086, allocations: 1.297 MB / 2.037 GB, free: 94.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/5.086, allocations: 7.938 kB / 2.037 GB, free: 94.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/5.086, allocations: 8 kB / 2.037 GB, free: 94.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/5.088, allocations: 271.9 kB / 2.037 GB, free: 94.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/5.088, allocations: 8 kB / 2.037 GB, free: 94.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/5.091, allocations: 231.1 kB / 2.037 GB, free: 94.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/5.092, allocations: 47.97 kB / 2.037 GB, free: 94.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 () * 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.001161/5.093, allocations: 405 kB / 2.038 GB, free: 94 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005227/5.093, allocations: 149.9 kB / 2.038 GB, free: 93.85 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006954/5.1, allocations: 1.511 MB / 2.039 GB, free: 92.33 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/5.1, allocations: 12 kB / 2.039 GB, free: 92.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/5.1, allocations: 0 / 2.039 GB, free: 92.32 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006022/5.107, allocations: 1.331 MB / 2.041 GB, free: 90.95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/5.118, allocations: 3.379 MB / 2.044 GB, free: 87.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/5.118, allocations: 8.125 kB / 2.044 GB, free: 87.41 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/5.121, allocations: 243.7 kB / 2.044 GB, free: 87.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.135e-05/5.121, allocations: 12 kB / 2.044 GB, free: 87.16 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/5.121, allocations: 27.97 kB / 2.044 GB, free: 87.13 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/5.121, allocations: 11.95 kB / 2.044 GB, free: 87.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/5.121, allocations: 11.88 kB / 2.044 GB, free: 87.11 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/5.131, allocations: 2.673 MB / 2.047 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/5.133, allocations: 487.8 kB / 2.047 GB, free: 83.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005214/5.133, allocations: 19.95 kB / 2.047 GB, free: 83.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/5.137, allocations: 183.7 kB / 2.047 GB, free: 83.46 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/5.137, allocations: 72.36 kB / 2.048 GB, free: 83.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/5.137, allocations: 51.53 kB / 2.048 GB, free: 83.34 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002315/5.14, allocations: 0.9241 MB / 2.048 GB, free: 82.42 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.022e-06/5.14, allocations: 0 / 2.048 GB, free: 82.42 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006949/5.147, allocations: 0.8461 MB / 2.049 GB, free: 81.57 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.01733/5.164, allocations: 5.021 MB / 2.054 GB, free: 76.46 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009247/5.173, allocations: 2.05 MB / 2.056 GB, free: 74.39 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/5.173, allocations: 0 / 2.056 GB, free: 74.39 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003304/5.177, allocations: 0.7147 MB / 2.057 GB, free: 73.67 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006805/5.184, allocations: 0.7646 MB / 2.058 GB, free: 72.94 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03107/5.215, allocations: 11.42 MB / 2.069 GB, free: 61.09 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/5.216, allocations: 1.261 MB / 2.07 GB, free: 59.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003131/5.219, allocations: 385.9 kB / 2.07 GB, free: 59.45 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/5.22, allocations: 0.5735 MB / 2.071 GB, free: 58.87 MB / 0.9323 GB Notification: Performance of SimCode: time 1.152e-06/5.22, allocations: 0 / 2.071 GB, free: 58.87 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/5.368, allocations: 47.74 MB / 2.118 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/5.368, allocations: 209.4 kB / 2.118 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.606/9.974, allocations: 0 / 2.118 GB, free: 11.56 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)