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.397/1.397, allocations: 252 MB / 267 MB, free: 10.93 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.0009882/0.0009882, allocations: 176.4 kB / 326.6 MB, free: 2.191 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.993/1.993, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007755/0.0007753, allocations: 95.55 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003387, allocations: 12.52 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2481, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04375/0.2919, allocations: 55.77 MB / 0.9548 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.3089, allocations: 12.19 MB / 0.9667 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.3122, allocations: 55.56 kB / 0.9667 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00317/0.3154, allocations: 0.7143 MB / 0.9674 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007136/0.3225, allocations: 1.817 MB / 0.9692 GB, free: 9.043 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.004837/0.3274, allocations: 1.136 MB / 0.9703 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007958/0.3353, allocations: 4.73 MB / 0.9749 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.3381, allocations: 0.9772 MB / 0.9759 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003941/0.342, allocations: 1.291 MB / 0.9771 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.3449, allocations: 1.081 MB / 0.9782 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006498/0.3456, allocations: 60 kB / 0.9782 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.3499, allocations: 1.002 MB / 0.9792 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008544/0.3508, allocations: 302.7 kB / 0.9795 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.352, allocations: 356.8 kB / 0.9799 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.3561, allocations: 1.925 MB / 0.9817 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3562, allocations: 0 / 0.9817 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3562, allocations: 0 / 0.9817 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001095/0.3563, allocations: 0 / 0.9817 GB, free: 12.14 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.005216/0.3615, allocations: 1.886 MB / 0.9836 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3616, allocations: 12.03 kB / 0.9836 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004376/0.362, allocations: 147.7 kB / 0.9837 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/0.3661, allocations: 0.634 MB / 0.9843 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/0.37, allocations: 1.311 MB / 0.9856 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.3703, allocations: 149.4 kB / 0.9858 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.3707, allocations: 100 kB / 0.9859 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.3746, allocations: 1.326 MB / 0.9872 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.3746, allocations: 0 / 0.9872 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.3748, allocations: 44 kB / 0.9872 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.3748, allocations: 27.97 kB / 0.9872 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/0.379, allocations: 1.37 MB / 0.9886 GB, free: 4.969 MB / 0.6355 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.01005/0.3891, allocations: 5.346 MB / 0.9938 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005956/0.3951, allocations: 1.483 MB / 0.9952 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.3969, allocations: 0.6232 MB / 0.9958 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.398, allocations: 1.232 MB / 0.997 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002002/0.4001, allocations: 0.6861 MB / 0.9977 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 3.307e-06/0.4001, allocations: 0 / 0.9977 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.005699/0.4058, allocations: 1.766 MB / 0.9994 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.4059, allocations: 63.95 kB / 0.9995 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.4082, allocations: 1.251 MB / 1.001 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.4084, allocations: 41.7 kB / 1.001 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007069/0.4091, allocations: 0.6501 MB / 1.001 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.4094, allocations: 232.6 kB / 1.002 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.4095, allocations: 16 kB / 1.002 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4096, allocations: 338 kB / 1.002 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4113, allocations: 0.5445 MB / 1.002 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.4133, allocations: 0.7781 MB / 1.003 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.415, allocations: 0.5941 MB / 1.004 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.415, allocations: 0 / 1.004 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004172/0.4192, allocations: 1.454 MB / 1.005 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.4194, allocations: 209.8 kB / 1.005 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4194, allocations: 7.953 kB / 1.005 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.4195, allocations: 8 kB / 1.005 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4208, allocations: 267.6 kB / 1.006 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/0.4208, allocations: 11.98 kB / 1.006 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.4228, allocations: 239 kB / 1.006 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4229, allocations: 39.98 kB / 1.006 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.423, allocations: 8 kB / 1.006 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003694/0.4267, allocations: 1.298 MB / 1.007 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4267, allocations: 4 kB / 1.007 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4267, allocations: 8 kB / 1.007 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.428, allocations: 264 kB / 1.008 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/0.4281, allocations: 11.94 kB / 1.008 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.4301, allocations: 235.2 kB / 1.008 GB, free: 416 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.4302, allocations: 35.98 kB / 1.008 GB, free: 380 kB / 0.6511 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.001013/0.4312, allocations: 413.4 kB / 1.008 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005929/0.4318, allocations: 146.2 kB / 1.008 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.4364, allocations: 1.516 MB / 1.01 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.4364, allocations: 15.98 kB / 1.01 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4364, allocations: 0 / 1.01 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003539/0.44, allocations: 1.277 MB / 1.011 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008533/0.4485, allocations: 3.233 MB / 1.014 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.4486, allocations: 4 kB / 1.014 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.4499, allocations: 244.2 kB / 1.014 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/0.4499, allocations: 8 kB / 1.014 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/0.45, allocations: 27.97 kB / 1.015 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.778e-05/0.45, allocations: 11.94 kB / 1.015 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4501, allocations: 4 kB / 1.015 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00611/0.4562, allocations: 2.298 MB / 1.017 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.4573, allocations: 366.8 kB / 1.017 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004162/0.4577, allocations: 20 kB / 1.017 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/0.4597, allocations: 187.7 kB / 1.017 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.4599, allocations: 76.36 kB / 1.017 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.46, allocations: 35.97 kB / 1.017 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001716/0.4617, allocations: 0.8927 MB / 1.018 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.294e-06/0.4618, allocations: 0 / 1.018 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002922/0.4647, allocations: 0.7836 MB / 1.019 GB, free: 4.523 MB / 0.6667 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.007605/0.4723, allocations: 3.208 MB / 1.022 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005869/0.4782, allocations: 2.07 MB / 1.024 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.4783, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.4805, allocations: 0.7147 MB / 1.025 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005409/0.4859, allocations: 0.7426 MB / 1.026 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/0.5103, allocations: 9.568 MB / 1.035 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.5115, allocations: 1.226 MB / 1.036 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002153/0.5137, allocations: 359.4 kB / 1.037 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009983/0.5147, allocations: 0.5735 MB / 1.037 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of SimCode: time 1.203e-06/0.5147, allocations: 0 / 1.037 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4804/0.9951, allocations: 42.13 MB / 1.078 GB, free: 136.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.9954, allocations: 222 kB / 1.078 GB, free: 136.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.478/4.473, allocations: 0.5 kB / 1.078 GB, free: 136.6 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)