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.0008989/0.0008989, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009725/0.0009725, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 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.977/0.977, allocations: 177.1 MB / 204.6 MB, free: 5.469 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 2.013/2.013, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.573e-06/1.573e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.292e-05, allocations: 14.47 kB / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.01575/0.01577, allocations: 19.28 MB / 0.7941 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.02815, allocations: 8.078 MB / 0.8019 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.03022, allocations: 99.19 kB / 0.802 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.03152, allocations: 0.602 MB / 0.8026 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.03485, allocations: 1.829 MB / 0.8044 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.03748, allocations: 1.462 MB / 0.8058 GB, free: 6.023 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004575/0.04205, allocations: 4.29 MB / 0.81 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.04394, allocations: 1.123 MB / 0.8111 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.04652, allocations: 2.053 MB / 0.8131 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.0477, allocations: 1.01 MB / 0.8141 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.04789, allocations: 140.8 kB / 0.8142 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.0494, allocations: 0.8537 MB / 0.8151 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.04972, allocations: 463 kB / 0.8155 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007364/0.05046, allocations: 0.6195 MB / 0.8161 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.05273, allocations: 1.822 MB / 0.8179 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.05274, allocations: 4.5 kB / 0.8179 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.443e-06/0.05274, allocations: 4.906 kB / 0.8179 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.05276, allocations: 0 / 0.8179 GB, free: 9.633 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.002192/0.05495, allocations: 2.059 MB / 0.8199 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.05499, allocations: 9.906 kB / 0.8199 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.05667, allocations: 0.5505 MB / 0.8205 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.05795, allocations: 1.019 MB / 0.8215 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.05809, allocations: 200.8 kB / 0.8217 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.0582, allocations: 108.5 kB / 0.8218 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.05938, allocations: 1.055 MB / 0.8228 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.05941, allocations: 7.938 kB / 0.8228 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.05947, allocations: 37.91 kB / 0.8228 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.0595, allocations: 24 kB / 0.8229 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.06009, allocations: 395 kB / 0.8232 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.06321, allocations: 2.607 MB / 0.8258 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.06384, allocations: 436.3 kB / 0.8262 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.06406, allocations: 173.6 kB / 0.8264 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.06426, allocations: 88.58 kB / 0.8264 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004241/0.06469, allocations: 453.2 kB / 0.8269 GB, free: 188 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.304e-06/0.06469, allocations: 0 / 0.8269 GB, free: 188 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0007551/0.06545, allocations: 489.7 kB / 0.8273 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.06548, allocations: 64.06 kB / 0.8274 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007337/0.06622, allocations: 1.053 MB / 0.8284 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.06628, allocations: 45.7 kB / 0.8285 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.06652, allocations: 489.2 kB / 0.8289 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.06666, allocations: 253.8 kB / 0.8292 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.06686, allocations: 174.5 kB / 0.8294 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.06708, allocations: 337.8 kB / 0.8297 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.06728, allocations: 141.3 kB / 0.8298 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.0677, allocations: 0.8529 MB / 0.8306 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.06816, allocations: 447.4 kB / 0.8311 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.06817, allocations: 0 / 0.8311 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006323/0.0688, allocations: 0.5397 MB / 0.8316 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.06884, allocations: 42.09 kB / 0.8316 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.06884, allocations: 8 kB / 0.8316 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.06886, allocations: 8 kB / 0.8317 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.06948, allocations: 227.6 kB / 0.8319 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.06949, allocations: 8 kB / 0.8319 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.06999, allocations: 135.4 kB / 0.832 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.07005, allocations: 31.92 kB / 0.832 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003425/0.07039, allocations: 241.4 kB / 0.8323 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004124/0.0708, allocations: 0.8373 MB / 0.8331 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004454/0.07125, allocations: 448.7 kB / 0.8335 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.07125, allocations: 0 / 0.8335 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0006178/0.07187, allocations: 0.5475 MB / 0.834 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.07189, allocations: 35.42 kB / 0.8341 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.07189, allocations: 4 kB / 0.8341 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.0719, allocations: 12.41 kB / 0.8341 GB, free: 8.109 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.07246, allocations: 231.6 kB / 0.8343 GB, free: 7.883 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.07247, allocations: 12 kB / 0.8343 GB, free: 7.871 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.07294, allocations: 131.5 kB / 0.8345 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.073, allocations: 27.97 kB / 0.8345 GB, free: 7.715 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.0001684/0.07317, allocations: 236 kB / 0.8347 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.07329, allocations: 111.9 kB / 0.8348 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008021/0.0741, allocations: 0.6329 MB / 0.8354 GB, free: 6.719 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.07411, allocations: 8 kB / 0.8354 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.07411, allocations: 0 / 0.8354 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004053/0.07451, allocations: 396.2 kB / 0.8358 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.07655, allocations: 1.474 MB / 0.8373 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.07655, allocations: 4 kB / 0.8373 GB, free: 4.727 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.07711, allocations: 200.1 kB / 0.8375 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.07712, allocations: 8 kB / 0.8375 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.07716, allocations: 19.98 kB / 0.8375 GB, free: 4.504 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.07717, allocations: 8 kB / 0.8375 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.07718, allocations: 11.94 kB / 0.8375 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.07816, allocations: 0.8731 MB / 0.8384 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.07848, allocations: 198.8 kB / 0.8385 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.07859, allocations: 28.02 kB / 0.8386 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.07906, allocations: 75.94 kB / 0.8386 GB, free: 3.234 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.07918, allocations: 72.27 kB / 0.8387 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.07924, allocations: 35.95 kB / 0.8387 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004961/0.07974, allocations: 0.5449 MB / 0.8393 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.07974, allocations: 0 / 0.8393 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001562/0.0813, allocations: 0.7718 MB / 0.84 GB, free: 1.805 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.0006096/0.08191, allocations: 322.8 kB / 0.8403 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.083, allocations: 0.8404 MB / 0.8412 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/0.08302, allocations: 16 kB / 0.8412 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.08332, allocations: 230.2 kB / 0.8414 GB, free: 388 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.0848, allocations: 0.657 MB / 0.842 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.08795, allocations: 2.395 MB / 0.8444 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.08814, allocations: 277.6 kB / 0.8446 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0008013/0.08894, allocations: 294.5 kB / 0.8449 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.08995, allocations: 0.5067 MB / 0.8454 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of SimCode: time 1.543e-06/0.08996, allocations: 0 / 0.8454 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of Templates: time 0.03531/0.1253, allocations: 30.52 MB / 0.8752 GB, free: 14.29 MB / 0.8386 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 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.663585319183767]