Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 176.2 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007901/0.0007902, allocations: 89.97 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 9.719 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 106.4 MB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04695/0.255, allocations: 58.98 MB / 0.9585 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.2741, allocations: 12.94 MB / 0.9711 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.2773, allocations: 55.62 kB / 0.9712 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.2801, allocations: 0.8041 MB / 0.972 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007144/0.2872, allocations: 2.137 MB / 0.9741 GB, free: 4.055 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.004621/0.2919, allocations: 1.365 MB / 0.9754 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008054/0.2999, allocations: 5.498 MB / 0.9808 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.3021, allocations: 1.095 MB / 0.9818 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.3055, allocations: 1.357 MB / 0.9832 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.3077, allocations: 1.159 MB / 0.9843 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.3079, allocations: 60 kB / 0.9844 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.3113, allocations: 1.329 MB / 0.9857 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.3118, allocations: 326.5 kB / 0.986 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.3129, allocations: 0.8331 MB / 0.9868 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004106/0.317, allocations: 2.597 MB / 0.9893 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.317, allocations: 4 kB / 0.9893 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3171, allocations: 4 kB / 0.9893 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.062e-05/0.3171, allocations: 0 / 0.9893 GB, free: 4.367 MB / 0.6355 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.003442/0.3205, allocations: 1.874 MB / 0.9912 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3206, allocations: 8.031 kB / 0.9912 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.3208, allocations: 143.9 kB / 0.9913 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.3242, allocations: 0.6384 MB / 0.9919 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.3264, allocations: 1.364 MB / 0.9933 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.3266, allocations: 145.4 kB / 0.9934 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.3268, allocations: 104 kB / 0.9935 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.3296, allocations: 1.326 MB / 0.9948 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3296, allocations: 7.906 kB / 0.9948 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.3297, allocations: 44 kB / 0.9948 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.3298, allocations: 27.94 kB / 0.9949 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/0.3334, allocations: 1.378 MB / 0.9962 GB, free: 13.14 MB / 0.6511 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.00706/0.3404, allocations: 5.346 MB / 1.001 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005435/0.3459, allocations: 1.481 MB / 1.003 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.3476, allocations: 0.6271 MB / 1.003 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009197/0.3485, allocations: 1.244 MB / 1.005 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.3503, allocations: 0.6745 MB / 1.005 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 3.116e-06/0.3503, allocations: 4 kB / 1.005 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.005149/0.3555, allocations: 1.778 MB / 1.007 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.3555, allocations: 59.97 kB / 1.007 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.3572, allocations: 1.263 MB / 1.008 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-05/0.3573, allocations: 49.7 kB / 1.008 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/0.3579, allocations: 0.654 MB / 1.009 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.3582, allocations: 232.6 kB / 1.009 GB, free: 15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.3582, allocations: 16 kB / 1.009 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3584, allocations: 338 kB / 1.01 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.36, allocations: 0.5485 MB / 1.01 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.3618, allocations: 0.7742 MB / 1.011 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.3649, allocations: 1.194 MB / 1.012 GB, free: 12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3649, allocations: 4 kB / 1.012 GB, free: 12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00387/0.3688, allocations: 1.466 MB / 1.014 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.369, allocations: 203.1 kB / 1.014 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.369, allocations: 4 kB / 1.014 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.369, allocations: 11.94 kB / 1.014 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3703, allocations: 271.6 kB / 1.014 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3703, allocations: 11.98 kB / 1.014 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.372, allocations: 243 kB / 1.014 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.937e-05/0.3721, allocations: 35.98 kB / 1.014 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.375e-06/0.3721, allocations: 7.938 kB / 1.014 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003326/0.3755, allocations: 1.306 MB / 1.016 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3755, allocations: 8.031 kB / 1.016 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.3755, allocations: 4 kB / 1.016 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3767, allocations: 263.7 kB / 1.016 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.3767, allocations: 23.86 kB / 1.016 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.3783, allocations: 235.1 kB / 1.016 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.3784, allocations: 31.98 kB / 1.016 GB, free: 7.828 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007028/0.3791, allocations: 412.9 kB / 1.016 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.3793, allocations: 142.2 kB / 1.017 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/0.3831, allocations: 1.512 MB / 1.018 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.3832, allocations: 19.92 kB / 1.018 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3832, allocations: 0 / 1.018 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003197/0.3864, allocations: 1.285 MB / 1.019 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006281/0.3927, allocations: 3.229 MB / 1.023 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3927, allocations: 4 kB / 1.023 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.3939, allocations: 236.2 kB / 1.023 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.3939, allocations: 8 kB / 1.023 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.257e-05/0.394, allocations: 35.91 kB / 1.023 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.394, allocations: 11.94 kB / 1.023 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.394, allocations: 8 kB / 1.023 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/0.3993, allocations: 2.294 MB / 1.025 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/0.4, allocations: 366.8 kB / 1.025 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.4002, allocations: 32 kB / 1.025 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.4016, allocations: 183.6 kB / 1.026 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.4018, allocations: 68.36 kB / 1.026 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.619e-05/0.4019, allocations: 39.97 kB / 1.026 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001215/0.4031, allocations: 0.9007 MB / 1.027 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.835e-06/0.4031, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001904/0.405, allocations: 0.7875 MB / 1.027 GB, free: 11.97 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006772/0.4118, allocations: 3.244 MB / 1.031 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005337/0.4171, allocations: 2.085 MB / 1.033 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4172, allocations: 3.938 kB / 1.033 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.419, allocations: 0.7108 MB / 1.033 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00456/0.4236, allocations: 0.7762 MB / 1.034 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/0.4487, allocations: 13.39 MB / 1.047 GB, free: 7.117 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/0.4496, allocations: 1.23 MB / 1.048 GB, free: 5.859 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001926/0.4516, allocations: 363.3 kB / 1.049 GB, free: 5.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/0.4525, allocations: 0.5852 MB / 1.049 GB, free: 4.914 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.4525, allocations: 0 / 1.049 GB, free: 4.914 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4602/0.9127, allocations: 42.77 MB / 1.091 GB, free: 129.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.9129, allocations: 256.7 kB / 1.091 GB, free: 129 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.629/4.542, allocations: 1.859 kB / 1.091 GB, free: 129 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)