Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.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.000843/0.000843, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0009513/0.0009513, allocations: 169.6 kB / 25.18 MB, free: 9.09 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.8964/0.8964, allocations: 177.2 MB / 205.6 MB, free: 4.332 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.891/1.891, allocations: 389.6 MB / 0.6364 GB, free: 13.31 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.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.112e-05, allocations: 6.25 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.02041/0.02044, allocations: 19.29 MB / 0.7944 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.03454, allocations: 8.015 MB / 0.8022 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.03645, allocations: 99.19 kB / 0.8023 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.03805, allocations: 0.6166 MB / 0.8029 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.04239, allocations: 1.833 MB / 0.8047 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.3684/0.4108, allocations: 1.42 MB / 0.8061 GB, free: 20.29 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004793/0.4156, allocations: 4.293 MB / 0.8103 GB, free: 19.65 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.4175, allocations: 1.111 MB / 0.8114 GB, free: 19.49 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.4207, allocations: 2.056 MB / 0.8134 GB, free: 19.3 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.4225, allocations: 1.016 MB / 0.8144 GB, free: 19.16 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004275/0.4229, allocations: 140.7 kB / 0.8145 GB, free: 19.16 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.4247, allocations: 0.8307 MB / 0.8153 GB, free: 19.13 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.4251, allocations: 457 kB / 0.8158 GB, free: 19.04 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.4261, allocations: 0.6113 MB / 0.8164 GB, free: 18.96 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.4289, allocations: 1.798 MB / 0.8181 GB, free: 18.78 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4289, allocations: 0 / 0.8181 GB, free: 18.78 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4289, allocations: 0 / 0.8181 GB, free: 18.78 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.31e-05/0.429, allocations: 5.031 kB / 0.8181 GB, free: 18.78 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.003159/0.4321, allocations: 2.038 MB / 0.8201 GB, free: 17.74 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4322, allocations: 11.97 kB / 0.8201 GB, free: 17.74 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.4338, allocations: 0.5089 MB / 0.8206 GB, free: 17.72 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.4353, allocations: 0.9936 MB / 0.8216 GB, free: 17.32 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4354, allocations: 206 kB / 0.8218 GB, free: 17.18 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.4356, allocations: 103.3 kB / 0.8219 GB, free: 17.18 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.437, allocations: 1.052 MB / 0.8229 GB, free: 16.85 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.437, allocations: 7.109 kB / 0.8229 GB, free: 16.84 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.4371, allocations: 38.41 kB / 0.823 GB, free: 16.84 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.4371, allocations: 30.41 kB / 0.823 GB, free: 16.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.4378, allocations: 393.1 kB / 0.8234 GB, free: 16.82 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.4411, allocations: 2.638 MB / 0.8259 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.4426, allocations: 0.6483 MB / 0.8266 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.4428, allocations: 173.2 kB / 0.8267 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.443, allocations: 96.42 kB / 0.8268 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.4435, allocations: 459.7 kB / 0.8273 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=71): time 2.195e-06/0.4435, allocations: 0 / 0.8273 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71): time 0.005379/0.4489, allocations: 1.656 MB / 0.8289 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4489, allocations: 60.22 kB / 0.829 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.4498, allocations: 1.012 MB / 0.8299 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.4499, allocations: 44.39 kB / 0.83 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.4501, allocations: 486.5 kB / 0.8304 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.4503, allocations: 257.6 kB / 0.8307 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.4505, allocations: 178.1 kB / 0.8309 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.4505, allocations: 336.1 kB / 0.8312 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.4508, allocations: 146.3 kB / 0.8313 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.4511, allocations: 0.8402 MB / 0.8321 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.4516, allocations: 457.3 kB / 0.8326 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4516, allocations: 0.9375 kB / 0.8326 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002311/0.454, allocations: 0.9474 MB / 0.8335 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.454, allocations: 33.39 kB / 0.8335 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.454, allocations: 3.938 kB / 0.8335 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.4556, allocations: 0.5643 MB / 0.8341 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.456, allocations: 194.1 kB / 0.8343 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.4595, allocations: 1.889 MB / 0.8361 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.4602, allocations: 135.6 kB / 0.8363 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.4603, allocations: 32.58 kB / 0.8363 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003648/0.4606, allocations: 245.1 kB / 0.8365 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003394/0.461, allocations: 0.8397 MB / 0.8373 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004426/0.4614, allocations: 452.1 kB / 0.8378 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.4614, allocations: 5.156 kB / 0.8378 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002091/0.4635, allocations: 0.9364 MB / 0.8387 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4635, allocations: 38.78 kB / 0.8387 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4635, allocations: 3.719 kB / 0.8387 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.4649, allocations: 0.5584 MB / 0.8393 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.4653, allocations: 198.8 kB / 0.8395 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.4686, allocations: 1.876 MB / 0.8413 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.4691, allocations: 139.5 kB / 0.8414 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.4692, allocations: 39.69 kB / 0.8415 GB, free: 8.77 MB / 0.7605 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 (fal.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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.4693, allocations: 233.8 kB / 0.8417 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4695, allocations: 106.6 kB / 0.8418 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.4717, allocations: 1.038 MB / 0.8428 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4717, allocations: 6.844 kB / 0.8428 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4717, allocations: 1.125 kB / 0.8428 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001855/0.4736, allocations: 0.7935 MB / 0.8436 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.4768, allocations: 1.85 MB / 0.8454 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4768, allocations: 2.938 kB / 0.8454 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.4772, allocations: 160.8 kB / 0.8455 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.4786, allocations: 0.567 MB / 0.8461 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.4786, allocations: 25.59 kB / 0.8461 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/0.4818, allocations: 1.872 MB / 0.848 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4819, allocations: 7.312 kB / 0.848 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.4841, allocations: 1.257 MB / 0.8492 GB, free: 4.352 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.4844, allocations: 199 kB / 0.8494 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4845, allocations: 22.91 kB / 0.8494 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.485, allocations: 91.91 kB / 0.8495 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.4851, allocations: 79.31 kB / 0.8496 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.4851, allocations: 31.97 kB / 0.8496 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000336/0.4854, allocations: 0.5255 MB / 0.8501 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.4854, allocations: 0 / 0.8501 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001443/0.4869, allocations: 0.8342 MB / 0.8509 GB, free: 2.633 MB / 0.7605 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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000523/0.4874, allocations: 346.2 kB / 0.8513 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.4889, allocations: 1.244 MB / 0.8525 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/0.4889, allocations: 12.69 kB / 0.8525 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.4895, allocations: 443.6 kB / 0.8529 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.4909, allocations: 0.6561 MB / 0.8535 GB, free: 24 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.494, allocations: 2.388 MB / 0.8559 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.4944, allocations: 0.6322 MB / 0.8565 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009781/0.4954, allocations: 0.5147 MB / 0.857 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of SimCode: time 1.252e-06/0.4954, allocations: 0 / 0.857 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of Templates: time 0.02465/0.52, allocations: 31.89 MB / 0.8881 GB, free: 12.76 MB / 0.8073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & ./Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.137073170393705]