Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_11_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_11_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.001428/0.001428, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 197.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.479/2.479, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 71.47 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2403, allocations: 159.1 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05658/0.2969, allocations: 60.6 MB / 1.123 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.3136, allocations: 13.22 MB / 1.136 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.3146, allocations: 67.62 kB / 1.136 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.3165, allocations: 0.9589 MB / 1.137 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003982/0.3205, allocations: 2.323 MB / 1.139 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.3234, allocations: 1.57 MB / 1.141 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003963/0.3274, allocations: 4.316 MB / 1.145 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.3288, allocations: 1.346 MB / 1.146 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.3312, allocations: 1.569 MB / 1.148 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.3325, allocations: 1.202 MB / 1.149 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.3327, allocations: 144 kB / 1.149 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.335, allocations: 1.474 MB / 1.151 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.3354, allocations: 418.5 kB / 1.151 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008191/0.3362, allocations: 0.9134 MB / 1.152 GB, free: 3.855 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.339, allocations: 2.75 MB / 1.155 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3391, allocations: 3.938 kB / 1.155 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3391, allocations: 4 kB / 1.155 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.3391, allocations: 0 / 1.155 GB, free: 1.09 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003224/0.3423, allocations: 2.185 MB / 1.157 GB, free: 14.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3423, allocations: 8.031 kB / 1.157 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.3425, allocations: 147.9 kB / 1.157 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/0.3464, allocations: 0.6188 MB / 1.158 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.3483, allocations: 1.375 MB / 1.159 GB, free: 12.63 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.3485, allocations: 149.4 kB / 1.159 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.3487, allocations: 103.9 kB / 1.159 GB, free: 12.37 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.3516, allocations: 1.377 MB / 1.161 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.3516, allocations: 0 / 1.161 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3517, allocations: 36 kB / 1.161 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.3518, allocations: 31.88 kB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/0.3557, allocations: 1.433 MB / 1.162 GB, free: 9.457 MB / 0.92 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.006912/0.3626, allocations: 5.595 MB / 1.168 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005475/0.3681, allocations: 1.386 MB / 1.169 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.3698, allocations: 0.6348 MB / 1.169 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009216/0.3707, allocations: 1.228 MB / 1.171 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.3725, allocations: 0.6939 MB / 1.171 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 1.934e-06/0.3725, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.005052/0.3776, allocations: 1.762 MB / 1.173 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3777, allocations: 59.97 kB / 1.173 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.3791, allocations: 1.291 MB / 1.174 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.3792, allocations: 49.7 kB / 1.174 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.3798, allocations: 0.6463 MB / 1.175 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.38, allocations: 240.6 kB / 1.175 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.3803, allocations: 186.4 kB / 1.175 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3804, allocations: 330 kB / 1.176 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.382, allocations: 0.5512 MB / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.3839, allocations: 0.7833 MB / 1.177 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.3871, allocations: 1.187 MB / 1.178 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3871, allocations: 0 / 1.178 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003739/0.3908, allocations: 1.45 MB / 1.18 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.3909, allocations: 37.69 kB / 1.18 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3909, allocations: 4 kB / 1.18 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3909, allocations: 15.81 kB / 1.18 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.3921, allocations: 267.8 kB / 1.18 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.3922, allocations: 11.94 kB / 1.18 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.3934, allocations: 195 kB / 1.18 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.3935, allocations: 43.98 kB / 1.18 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001928/0.3955, allocations: 0.8102 MB / 1.181 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00179/0.3973, allocations: 0.7595 MB / 1.182 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003142/0.4004, allocations: 1.179 MB / 1.183 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.4004, allocations: 0 / 1.183 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003697/0.4041, allocations: 1.446 MB / 1.184 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4042, allocations: 29.7 kB / 1.184 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4042, allocations: 4 kB / 1.184 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.4042, allocations: 8 kB / 1.184 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.4054, allocations: 271.8 kB / 1.185 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4054, allocations: 8 kB / 1.185 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.4067, allocations: 191.2 kB / 1.185 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/0.4068, allocations: 43.95 kB / 1.185 GB, free: 1.055 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0002202/0.407, allocations: 239.9 kB / 1.185 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.4072, allocations: 146.2 kB / 1.185 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.4112, allocations: 1.512 MB / 1.187 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4112, allocations: 8 kB / 1.187 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4112, allocations: 0 / 1.187 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00332/0.4145, allocations: 1.277 MB / 1.188 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/0.4206, allocations: 3.241 MB / 1.191 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.4206, allocations: 7.984 kB / 1.191 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.4218, allocations: 236 kB / 1.191 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.4218, allocations: 11.94 kB / 1.191 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.4219, allocations: 23.98 kB / 1.191 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.4219, allocations: 11.98 kB / 1.191 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.4219, allocations: 7.938 kB / 1.191 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005457/0.4273, allocations: 2.29 MB / 1.194 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.4278, allocations: 355 kB / 1.194 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.428, allocations: 23.92 kB / 1.194 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.4293, allocations: 131.8 kB / 1.194 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4294, allocations: 72.36 kB / 1.194 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/0.4295, allocations: 39.97 kB / 1.194 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001102/0.4306, allocations: 0.9207 MB / 1.195 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4306, allocations: 0 / 1.195 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001629/0.4323, allocations: 0.8149 MB / 1.196 GB, free: 5.395 MB / 0.9512 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 (74): * Single equations (assignments): 66 * 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.006572/0.4389, allocations: 3.254 MB / 1.199 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0055/0.4444, allocations: 2.128 MB / 1.201 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.4444, allocations: 0 / 1.201 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.4463, allocations: 0.7108 MB / 1.202 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/0.4492, allocations: 0.7633 MB / 1.203 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/0.471, allocations: 13.19 MB / 1.215 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.4719, allocations: 1.234 MB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001381/0.4732, allocations: 375.5 kB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/0.474, allocations: 0.5891 MB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.474, allocations: 0 / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.87/5.344, allocations: 43.95 MB / 1.261 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/20.42, allocations: 10.97 kB / 1.261 GB, free: 176.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)