Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009073/0.0009124, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008435/0.0008437, allocations: 13.19 kB / 0.6738 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2653, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05878/0.3242, allocations: 55.77 MB / 0.8419 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.3435, allocations: 12.23 MB / 0.8538 GB, free: 7.648 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.3459, allocations: 55.62 kB / 0.8539 GB, free: 7.594 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.3487, allocations: 0.7104 MB / 0.8546 GB, free: 6.879 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.3549, allocations: 1.83 MB / 0.8563 GB, free: 5.043 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.004095/0.359, allocations: 1.147 MB / 0.8575 GB, free: 3.906 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00666/0.3657, allocations: 4.754 MB / 0.8621 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.368, allocations: 0.9773 MB / 0.8631 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.3719, allocations: 1.287 MB / 0.8643 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/0.3744, allocations: 1.093 MB / 0.8654 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005566/0.375, allocations: 63.94 kB / 0.8654 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.3784, allocations: 0.994 MB / 0.8664 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008234/0.3793, allocations: 314.6 kB / 0.8667 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.3808, allocations: 360.8 kB / 0.8671 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.3854, allocations: 1.929 MB / 0.8689 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3854, allocations: 3.938 kB / 0.8689 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3855, allocations: 0 / 0.8689 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001226/0.3856, allocations: 0 / 0.8689 GB, free: 8.09 MB / 0.6856 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.005595/0.3912, allocations: 1.886 MB / 0.8708 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.3913, allocations: 12.03 kB / 0.8708 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006023/0.3919, allocations: 143.7 kB / 0.8709 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/0.3956, allocations: 0.6379 MB / 0.8716 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.3991, allocations: 1.311 MB / 0.8728 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.3993, allocations: 149.4 kB / 0.873 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.3996, allocations: 96 kB / 0.8731 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/0.4028, allocations: 1.334 MB / 0.8744 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.4029, allocations: 7.891 kB / 0.8744 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.403, allocations: 40 kB / 0.8744 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/0.4031, allocations: 27.98 kB / 0.8744 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/0.4067, allocations: 1.366 MB / 0.8758 GB, free: 0.9141 MB / 0.6856 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.008449/0.4151, allocations: 5.366 MB / 0.881 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004874/0.42, allocations: 1.482 MB / 0.8825 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.4216, allocations: 0.6154 MB / 0.8831 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009803/0.4225, allocations: 1.24 MB / 0.8843 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.4243, allocations: 0.6861 MB / 0.8849 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 3.106e-06/0.4243, allocations: 3.938 kB / 0.885 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.004665/0.429, allocations: 1.77 MB / 0.8867 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.429, allocations: 59.97 kB / 0.8867 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.4312, allocations: 1.251 MB / 0.888 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.4314, allocations: 45.7 kB / 0.888 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006294/0.432, allocations: 0.65 MB / 0.8886 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.4323, allocations: 236.6 kB / 0.8889 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.4323, allocations: 16 kB / 0.8889 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4325, allocations: 341.9 kB / 0.8892 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.4339, allocations: 0.5406 MB / 0.8897 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4355, allocations: 0.7704 MB / 0.8905 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.437, allocations: 0.5979 MB / 0.8911 GB, free: 444 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.437, allocations: 0 / 0.8911 GB, free: 444 kB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003658/0.4407, allocations: 1.446 MB / 0.8925 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.4409, allocations: 203.3 kB / 0.8927 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4409, allocations: 7.953 kB / 0.8927 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.4409, allocations: 8 kB / 0.8927 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4421, allocations: 271.6 kB / 0.893 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/0.4421, allocations: 8 kB / 0.893 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.4437, allocations: 239 kB / 0.8932 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.4438, allocations: 43.97 kB / 0.8932 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.4439, allocations: 0 / 0.8932 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/0.4471, allocations: 1.305 MB / 0.8945 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.4471, allocations: 7.938 kB / 0.8945 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4471, allocations: 8 kB / 0.8945 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4483, allocations: 271.9 kB / 0.8948 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.4483, allocations: 4 kB / 0.8948 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.45, allocations: 235.1 kB / 0.895 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.4501, allocations: 39.97 kB / 0.895 GB, free: 12.29 MB / 0.7169 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.0007437/0.4509, allocations: 412.8 kB / 0.8954 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.4512, allocations: 146.2 kB / 0.8956 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.4549, allocations: 1.512 MB / 0.8971 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.455, allocations: 8 kB / 0.8971 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.455, allocations: 4 kB / 0.8971 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002951/0.458, allocations: 1.285 MB / 0.8983 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006635/0.4646, allocations: 3.229 MB / 0.9015 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.4647, allocations: 4 kB / 0.9015 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.4657, allocations: 236 kB / 0.9017 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/0.4658, allocations: 8 kB / 0.9017 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/0.4659, allocations: 27.98 kB / 0.9017 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.4659, allocations: 11.94 kB / 0.9017 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4659, allocations: 4 kB / 0.9018 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.471, allocations: 2.309 MB / 0.904 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.4718, allocations: 366.8 kB / 0.9044 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.4721, allocations: 20 kB / 0.9044 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.4736, allocations: 171.8 kB / 0.9045 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.4738, allocations: 80.36 kB / 0.9046 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/0.4739, allocations: 43.97 kB / 0.9047 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001458/0.4754, allocations: 0.8929 MB / 0.9055 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4754, allocations: 3.938 kB / 0.9055 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002377/0.4778, allocations: 0.772 MB / 0.9063 GB, free: 468 kB / 0.7169 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.006488/0.4843, allocations: 3.232 MB / 0.9094 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005177/0.4895, allocations: 2.07 MB / 0.9115 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.4895, allocations: 0 / 0.9115 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.4913, allocations: 0.7108 MB / 0.9122 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/0.4954, allocations: 0.7505 MB / 0.9129 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4555/0.9509, allocations: 9.556 MB / 0.9222 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009689/0.9519, allocations: 1.223 MB / 0.9234 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002037/0.9539, allocations: 371.2 kB / 0.9238 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009766/0.9549, allocations: 0.5696 MB / 0.9243 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.143e-06/0.955, allocations: 0 / 0.9243 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07778/1.033, allocations: 42.25 MB / 0.9656 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/1.033, allocations: 217.2 kB / 0.9658 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.235/4.268, allocations: 0 / 0.9658 GB, free: 113.8 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) Environment - environmentSimulation: