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.408/1.408, allocations: 288.4 MB / 303.6 MB, free: 8.156 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.0009092/0.0009092, allocations: 171.3 kB / 372.3 MB, free: 10.13 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.201/1.201, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.000675/0.0006751, allocations: 90.91 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 12.94 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.03807/0.1832, allocations: 55.77 MB / 1.035 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.1972, allocations: 12.23 MB / 1.047 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1984, allocations: 59.56 kB / 1.047 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.1999, allocations: 0.7104 MB / 1.047 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.2037, allocations: 1.945 MB / 1.049 GB, free: 4.348 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.002633/0.2064, allocations: 1.188 MB / 1.05 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003999/0.2104, allocations: 4.785 MB / 1.055 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.2115, allocations: 1.095 MB / 1.056 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.2132, allocations: 1.311 MB / 1.057 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.2144, allocations: 1.093 MB / 1.058 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.2145, allocations: 60 kB / 1.059 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.217, allocations: 1.263 MB / 1.06 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.2173, allocations: 318.6 kB / 1.06 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006942/0.218, allocations: 0.7908 MB / 1.061 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.2198, allocations: 2.011 MB / 1.063 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2198, allocations: 0 / 1.063 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2198, allocations: 0 / 1.063 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.2198, allocations: 0 / 1.063 GB, free: 6.379 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.002746/0.2226, allocations: 1.87 MB / 1.065 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2226, allocations: 16.03 kB / 1.065 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.2228, allocations: 147.9 kB / 1.065 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.2258, allocations: 0.6345 MB / 1.065 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.2276, allocations: 1.365 MB / 1.067 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.2277, allocations: 145.4 kB / 1.067 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.2279, allocations: 99.98 kB / 1.067 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.2304, allocations: 1.334 MB / 1.068 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.2305, allocations: 3.938 kB / 1.068 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/0.2306, allocations: 36 kB / 1.068 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.2306, allocations: 27.94 kB / 1.068 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2996/0.5302, allocations: 1.369 MB / 1.07 GB, free: 90.19 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.006233/0.5365, allocations: 5.356 MB / 1.075 GB, free: 87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/0.5417, allocations: 1.486 MB / 1.076 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.5432, allocations: 0.6225 MB / 1.077 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000593/0.5438, allocations: 1.237 MB / 1.078 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/0.5456, allocations: 0.6855 MB / 1.079 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 2.936e-06/0.5456, allocations: 1.844 kB / 1.079 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.004863/0.5505, allocations: 1.769 MB / 1.081 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.5505, allocations: 68.56 kB / 1.081 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.5521, allocations: 1.243 MB / 1.082 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.5522, allocations: 47.36 kB / 1.082 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.5526, allocations: 0.6468 MB / 1.083 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.5528, allocations: 240.2 kB / 1.083 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.5528, allocations: 15.12 kB / 1.083 GB, free: 83.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.5529, allocations: 334.1 kB / 1.083 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.5544, allocations: 0.5461 MB / 1.084 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.556, allocations: 0.7701 MB / 1.084 GB, free: 82.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.5589, allocations: 1.188 MB / 1.086 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5589, allocations: 3.172 kB / 1.086 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003335/0.5622, allocations: 1.449 MB / 1.087 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.736e-05/0.5623, allocations: 212.7 kB / 1.087 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5623, allocations: 6.906 kB / 1.087 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5623, allocations: 9.828 kB / 1.087 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.5635, allocations: 271.1 kB / 1.087 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5635, allocations: 7.109 kB / 1.087 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.565, allocations: 237.8 kB / 1.088 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.5651, allocations: 40.09 kB / 1.088 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.5651, allocations: 3.25 kB / 1.088 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003141/0.5682, allocations: 1.3 MB / 1.089 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5683, allocations: 4.469 kB / 1.089 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.5683, allocations: 6.094 kB / 1.089 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.5694, allocations: 276.8 kB / 1.089 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5694, allocations: 7.922 kB / 1.089 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.5708, allocations: 231.3 kB / 1.089 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.5708, allocations: 35.2 kB / 1.09 GB, free: 80.41 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.0005651/0.5714, allocations: 418.3 kB / 1.09 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.5716, allocations: 143.5 kB / 1.09 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.5751, allocations: 1.517 MB / 1.092 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.5751, allocations: 9.219 kB / 1.092 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.5751, allocations: 0.7031 kB / 1.092 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002979/0.5781, allocations: 1.281 MB / 1.093 GB, free: 79.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005614/0.5837, allocations: 3.237 MB / 1.096 GB, free: 77.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.5838, allocations: 7.719 kB / 1.096 GB, free: 77.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.5848, allocations: 232.2 kB / 1.096 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.5848, allocations: 15.12 kB / 1.096 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.5849, allocations: 33.28 kB / 1.096 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/0.5849, allocations: 12.91 kB / 1.096 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.5849, allocations: 4.281 kB / 1.096 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/0.5896, allocations: 2.3 MB / 1.099 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.5901, allocations: 366.8 kB / 1.099 GB, free: 76.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.5902, allocations: 28.66 kB / 1.099 GB, free: 76.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.5915, allocations: 177.8 kB / 1.099 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.5916, allocations: 71.89 kB / 1.099 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.5917, allocations: 42.48 kB / 1.099 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008985/0.5926, allocations: 0.8859 MB / 1.1 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.5926, allocations: 0 / 1.1 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001625/0.5942, allocations: 0.7832 MB / 1.101 GB, free: 75.71 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.00544/0.5997, allocations: 3.242 MB / 1.104 GB, free: 73.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004645/0.6043, allocations: 2.075 MB / 1.106 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6043, allocations: 1.344 kB / 1.106 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.606, allocations: 0.7125 MB / 1.107 GB, free: 72.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/0.6098, allocations: 0.7665 MB / 1.107 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.6245, allocations: 9.566 MB / 1.117 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.625, allocations: 1.229 MB / 1.118 GB, free: 65.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001393/0.6264, allocations: 369 kB / 1.118 GB, free: 65.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/0.627, allocations: 0.5724 MB / 1.119 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/0.627, allocations: 0 / 1.119 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9374/1.564, allocations: 44.1 MB / 1.162 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.565, allocations: 243.5 kB / 1.162 GB, free: 22.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/5.213, allocations: 0 / 1.162 GB, free: 22.26 MB / 0.6823 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)