Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 177.5 kB / 25.18 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9467/0.9467, allocations: 177.1 MB / 205.6 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.917/1.917, allocations: 389.6 MB / 0.6364 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7755 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.087e-05, allocations: 4.156 kB / 0.7756 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.01452/0.01454, allocations: 19.28 MB / 0.7944 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.02584, allocations: 8.047 MB / 0.8022 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.02799, allocations: 95.19 kB / 0.8023 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.02935, allocations: 0.6184 MB / 0.8029 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.03283, allocations: 1.821 MB / 0.8047 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.0353, allocations: 1.454 MB / 0.8061 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004265/0.03956, allocations: 4.289 MB / 0.8103 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.04148, allocations: 1.121 MB / 0.8114 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.04446, allocations: 2.053 MB / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.04607, allocations: 1.018 MB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.04632, allocations: 140 kB / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.0479, allocations: 0.8537 MB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.04821, allocations: 458.8 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.04889, allocations: 0.6195 MB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.05127, allocations: 1.826 MB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.05127, allocations: 0.8125 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/0.05127, allocations: 3.938 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.0513, allocations: 5.312 kB / 0.8182 GB, free: 10.29 MB / 0.7761 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.002309/0.05361, allocations: 2.058 MB / 0.8202 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.05365, allocations: 14.17 kB / 0.8202 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.05522, allocations: 0.5544 MB / 0.8208 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.05651, allocations: 1.009 MB / 0.8218 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.05664, allocations: 200.8 kB / 0.822 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.05676, allocations: 108 kB / 0.8221 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.0579, allocations: 1.05 MB / 0.8231 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.05792, allocations: 4.547 kB / 0.8231 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.05799, allocations: 40.66 kB / 0.8231 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.05802, allocations: 28 kB / 0.8232 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.05856, allocations: 387.8 kB / 0.8235 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.06159, allocations: 2.612 MB / 0.8261 GB, free: 2.027 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.06215, allocations: 435.5 kB / 0.8265 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.06236, allocations: 167.5 kB / 0.8267 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.06258, allocations: 92.53 kB / 0.8267 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.063, allocations: 457.2 kB / 0.8272 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.564e-06/0.063, allocations: 0 / 0.8272 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0007487/0.06375, allocations: 489.7 kB / 0.8276 GB, free: 364 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.06378, allocations: 64.06 kB / 0.8277 GB, free: 284 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007942/0.06458, allocations: 1.053 MB / 0.8287 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.06464, allocations: 41.7 kB / 0.8288 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.0649, allocations: 493.2 kB / 0.8292 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.06505, allocations: 253.8 kB / 0.8295 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.06523, allocations: 166.5 kB / 0.8296 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.06532, allocations: 341.8 kB / 0.83 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.06553, allocations: 149.3 kB / 0.8301 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.06598, allocations: 0.8412 MB / 0.8309 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.06644, allocations: 455.4 kB / 0.8314 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.06644, allocations: 0 / 0.8314 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006347/0.06707, allocations: 0.5437 MB / 0.8319 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.06711, allocations: 38.11 kB / 0.8319 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.06712, allocations: 8 kB / 0.8319 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.06713, allocations: 8 kB / 0.8319 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.06774, allocations: 231.6 kB / 0.8322 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.06774, allocations: 8 kB / 0.8322 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.06828, allocations: 131.5 kB / 0.8323 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.06835, allocations: 39.91 kB / 0.8323 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003624/0.06871, allocations: 233.5 kB / 0.8326 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000408/0.06912, allocations: 0.8529 MB / 0.8334 GB, free: 9.867 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004165/0.06954, allocations: 436.6 kB / 0.8338 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.06954, allocations: 0 / 0.8338 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0006014/0.07014, allocations: 0.5475 MB / 0.8343 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.07016, allocations: 37.69 kB / 0.8344 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.07017, allocations: 4 kB / 0.8344 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.07018, allocations: 4.406 kB / 0.8344 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.07071, allocations: 239.6 kB / 0.8346 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.07071, allocations: 8 kB / 0.8346 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.07122, allocations: 135.5 kB / 0.8348 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.07128, allocations: 27.92 kB / 0.8348 GB, free: 8.359 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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.0002151/0.07149, allocations: 236 kB / 0.835 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.07162, allocations: 107.9 kB / 0.8351 GB, free: 8.016 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.07242, allocations: 0.6445 MB / 0.8357 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.07243, allocations: 8 kB / 0.8357 GB, free: 7.348 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.07243, allocations: 0 / 0.8357 GB, free: 7.348 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003965/0.07283, allocations: 396.2 kB / 0.8361 GB, free: 6.93 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.07477, allocations: 1.474 MB / 0.8376 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.07478, allocations: 4 kB / 0.8376 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.07529, allocations: 196.2 kB / 0.8378 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.07529, allocations: 8 kB / 0.8378 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.07534, allocations: 23.97 kB / 0.8378 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.07534, allocations: 8 kB / 0.8378 GB, free: 5.133 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.07535, allocations: 7.938 kB / 0.8378 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/0.07623, allocations: 0.8692 MB / 0.8387 GB, free: 4.176 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.07656, allocations: 198.7 kB / 0.8388 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.07666, allocations: 28.03 kB / 0.8389 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.07713, allocations: 83.91 kB / 0.8389 GB, free: 3.871 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.07722, allocations: 76.41 kB / 0.839 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.07729, allocations: 31.95 kB / 0.8391 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000426/0.07772, allocations: 0.5488 MB / 0.8396 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/0.07772, allocations: 0 / 0.8396 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001249/0.07897, allocations: 0.7757 MB / 0.8403 GB, free: 2.434 MB / 0.7917 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.0006241/0.07959, allocations: 332.4 kB / 0.8407 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.08062, allocations: 0.8363 MB / 0.8415 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.149e-05/0.08064, allocations: 16 kB / 0.8415 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.08093, allocations: 230.4 kB / 0.8417 GB, free: 1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.08235, allocations: 0.6584 MB / 0.8424 GB, free: 360 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.08558, allocations: 2.444 MB / 0.8447 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.08602, allocations: 0.6326 MB / 0.8454 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.08724, allocations: 0.5224 MB / 0.8459 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of SimCode: time 1.292e-06/0.08724, allocations: 0 / 0.8459 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.02584/0.1131, allocations: 24.65 MB / 0.8699 GB, free: 4.125 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.997637297026813]