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.735/2.735, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.002211/0.002211, allocations: 182.3 kB / 371 MB, free: 10.86 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.305/2.305, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.0008707/0.0008703, allocations: 93.42 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007139/0.0007142, allocations: 16.95 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2796, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.08166/0.3613, allocations: 55.77 MB / 1.033 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02645/0.3878, allocations: 12.22 MB / 1.045 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.3907, allocations: 59.56 kB / 1.045 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003718/0.3944, allocations: 0.7026 MB / 1.046 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0083/0.4028, allocations: 1.831 MB / 1.047 GB, free: 5.492 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005743/0.4086, allocations: 1.161 MB / 1.049 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009375/0.418, allocations: 4.733 MB / 1.053 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002703/0.4207, allocations: 0.9851 MB / 1.054 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004513/0.4253, allocations: 1.303 MB / 1.055 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.4283, allocations: 1.089 MB / 1.056 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006067/0.429, allocations: 56 kB / 1.056 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/0.4338, allocations: 0.9978 MB / 1.057 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009196/0.4348, allocations: 314.7 kB / 1.058 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.4358, allocations: 356.8 kB / 1.058 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.4406, allocations: 1.933 MB / 1.06 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4407, allocations: 0 / 1.06 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.195e-06/0.4407, allocations: 0 / 1.06 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.244e-05/0.4408, allocations: 0 / 1.06 GB, free: 8.535 MB / 0.6823 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.005831/0.4466, allocations: 1.886 MB / 1.062 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.4467, allocations: 8.031 kB / 1.062 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004913/0.4472, allocations: 143.7 kB / 1.062 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006259/0.4535, allocations: 0.6379 MB / 1.063 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/0.4575, allocations: 1.315 MB / 1.064 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.4578, allocations: 149.4 kB / 1.064 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/0.4582, allocations: 100 kB / 1.064 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/0.4635, allocations: 1.338 MB / 1.065 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/0.4636, allocations: 3.906 kB / 1.065 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.4637, allocations: 36 kB / 1.065 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.4638, allocations: 24 kB / 1.065 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006828/0.4707, allocations: 1.37 MB / 1.067 GB, free: 1.359 MB / 0.6823 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.6524/1.123, allocations: 5.356 MB / 1.072 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/1.134, allocations: 1.48 MB / 1.073 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/1.137, allocations: 0.62 MB / 1.074 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/1.138, allocations: 1.238 MB / 1.075 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003546/1.142, allocations: 0.6827 MB / 1.076 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 5.29e-06/1.142, allocations: 0 / 1.076 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01008/1.152, allocations: 1.771 MB / 1.078 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/1.152, allocations: 68.92 kB / 1.078 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/1.155, allocations: 1.247 MB / 1.079 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000283/1.155, allocations: 44.27 kB / 1.079 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000898/1.156, allocations: 0.6423 MB / 1.08 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/1.157, allocations: 240.2 kB / 1.08 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/1.157, allocations: 15.09 kB / 1.08 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.157, allocations: 337.7 kB / 1.08 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/1.16, allocations: 0.5503 MB / 1.081 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/1.164, allocations: 0.7721 MB / 1.082 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/1.167, allocations: 0.5914 MB / 1.082 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.167, allocations: 1.312 kB / 1.082 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007629/1.175, allocations: 1.456 MB / 1.084 GB, free: 82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.175, allocations: 207.4 kB / 1.084 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.175, allocations: 3.656 kB / 1.084 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/1.175, allocations: 7.594 kB / 1.084 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/1.178, allocations: 271 kB / 1.084 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-05/1.178, allocations: 11.86 kB / 1.084 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.181, allocations: 245.3 kB / 1.084 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/1.181, allocations: 35.97 kB / 1.084 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.181, allocations: 4.656 kB / 1.084 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006454/1.188, allocations: 1.298 MB / 1.086 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.188, allocations: 3.219 kB / 1.086 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.188, allocations: 11.14 kB / 1.086 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/1.19, allocations: 273.4 kB / 1.086 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.572e-05/1.19, allocations: 7.125 kB / 1.086 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/1.193, allocations: 235.1 kB / 1.086 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/1.194, allocations: 35.12 kB / 1.086 GB, free: 81.17 MB / 0.6823 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 (95): * Single equations (assignments): 94 * 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.001035/1.195, allocations: 414 kB / 1.086 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/1.195, allocations: 143.4 kB / 1.087 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/1.202, allocations: 1.51 MB / 1.088 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/1.202, allocations: 12.44 kB / 1.088 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.202, allocations: 1.375 kB / 1.088 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006056/1.208, allocations: 1.282 MB / 1.089 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/1.22, allocations: 3.237 MB / 1.093 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.22, allocations: 8.781 kB / 1.093 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/1.222, allocations: 235.3 kB / 1.093 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/1.223, allocations: 11.59 kB / 1.093 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/1.223, allocations: 30.19 kB / 1.093 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.564e-05/1.223, allocations: 12.28 kB / 1.093 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.223, allocations: 5.094 kB / 1.093 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009875/1.233, allocations: 2.299 MB / 1.095 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.234, allocations: 371.8 kB / 1.095 GB, free: 77.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004075/1.234, allocations: 25.48 kB / 1.095 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/1.237, allocations: 179.4 kB / 1.096 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/1.238, allocations: 77.03 kB / 1.096 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.238, allocations: 41.19 kB / 1.096 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001969/1.24, allocations: 0.8884 MB / 1.097 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/1.24, allocations: 0 / 1.097 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003268/1.243, allocations: 0.7778 MB / 1.097 GB, free: 76.51 MB / 0.6823 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.01139/1.255, allocations: 3.22 MB / 1.1 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009958/1.265, allocations: 2.067 MB / 1.102 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.265, allocations: 1.375 kB / 1.102 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.268, allocations: 0.7118 MB / 1.103 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006861/1.275, allocations: 0.7548 MB / 1.104 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/1.308, allocations: 9.563 MB / 1.113 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009198/1.309, allocations: 1.233 MB / 1.114 GB, free: 67.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00311/1.312, allocations: 372.7 kB / 1.115 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.313, allocations: 0.5684 MB / 1.115 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/1.313, allocations: 0 / 1.115 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.414, allocations: 42.25 MB / 1.157 GB, free: 27.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/1.414, allocations: 221.1 kB / 1.157 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.674/6.089, allocations: 3.938 kB / 1.157 GB, free: 27.48 MB / 0.6823 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)