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.0009482/0.0009482, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001462/0.001462, allocations: 164.5 kB / 25.05 MB, free: 9.148 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.9698/0.9698, allocations: 177.1 MB / 205.5 MB, free: 5.461 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.979/1.979, allocations: 389.6 MB / 0.6363 GB, free: 12.3 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.653e-06/1.653e-06, allocations: 0 / 0.7761 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.886e-05, allocations: 5.859 kB / 0.7762 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.01411/0.01413, allocations: 19.28 MB / 0.795 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.02512, allocations: 8.055 MB / 0.8028 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.02669, allocations: 96 kB / 0.8029 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.02785, allocations: 0.6059 MB / 0.8035 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.03067, allocations: 1.825 MB / 0.8053 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.03296, allocations: 1.454 MB / 0.8067 GB, free: 5.953 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.0366, allocations: 4.283 MB / 0.8109 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.03821, allocations: 1.128 MB / 0.812 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.04051, allocations: 2.054 MB / 0.814 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.04195, allocations: 1.006 MB / 0.815 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.04223, allocations: 141.5 kB / 0.8151 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.04363, allocations: 0.8693 MB / 0.816 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.0439, allocations: 454.1 kB / 0.8164 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005151/0.04442, allocations: 0.6195 MB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.04612, allocations: 1.831 MB / 0.8188 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.04612, allocations: 4 kB / 0.8188 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.553e-06/0.04613, allocations: 0 / 0.8188 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.04614, allocations: 0 / 0.8188 GB, free: 9.559 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.001907/0.04805, allocations: 2.052 MB / 0.8208 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.04808, allocations: 13.34 kB / 0.8208 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.04959, allocations: 0.5542 MB / 0.8214 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.05078, allocations: 1.016 MB / 0.8224 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.0509, allocations: 204.8 kB / 0.8226 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.05102, allocations: 107.9 kB / 0.8227 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.05212, allocations: 1.048 MB / 0.8237 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.05215, allocations: 3.953 kB / 0.8237 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.05221, allocations: 40 kB / 0.8237 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.05224, allocations: 27.98 kB / 0.8238 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/0.05278, allocations: 391.4 kB / 0.8241 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.05568, allocations: 2.616 MB / 0.8267 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.05623, allocations: 429.6 kB / 0.8271 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.05644, allocations: 169.6 kB / 0.8273 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.05662, allocations: 92.58 kB / 0.8273 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000407/0.05703, allocations: 449.2 kB / 0.8278 GB, free: 112 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 1.964e-06/0.05703, allocations: 0 / 0.8278 GB, free: 112 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0007134/0.05775, allocations: 493.7 kB / 0.8282 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.05778, allocations: 64.06 kB / 0.8283 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007113/0.05849, allocations: 1.057 MB / 0.8293 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.05855, allocations: 49.7 kB / 0.8294 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.0588, allocations: 481.3 kB / 0.8298 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.05893, allocations: 253.8 kB / 0.8301 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.05913, allocations: 174.5 kB / 0.8303 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.05921, allocations: 341.8 kB / 0.8306 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.05942, allocations: 141.3 kB / 0.8307 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.05985, allocations: 0.8451 MB / 0.8315 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.0603, allocations: 451.4 kB / 0.832 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.06031, allocations: 0 / 0.832 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006137/0.06092, allocations: 0.5436 MB / 0.8325 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.06096, allocations: 33.7 kB / 0.8325 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.06096, allocations: 4 kB / 0.8325 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.06097, allocations: 8.5 kB / 0.8325 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.06155, allocations: 239.6 kB / 0.8328 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.06155, allocations: 8 kB / 0.8328 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.06201, allocations: 139.4 kB / 0.8329 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.06207, allocations: 31.91 kB / 0.8329 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003216/0.06239, allocations: 241.4 kB / 0.8332 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000419/0.06281, allocations: 0.8412 MB / 0.834 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004239/0.06323, allocations: 444.6 kB / 0.8344 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/0.06323, allocations: 4 kB / 0.8344 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0005875/0.06382, allocations: 0.5436 MB / 0.835 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.06384, allocations: 33.7 kB / 0.835 GB, free: 8.039 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.06385, allocations: 4 kB / 0.835 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.06385, allocations: 8 kB / 0.835 GB, free: 8.027 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.06437, allocations: 236 kB / 0.8352 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.06438, allocations: 11.98 kB / 0.8352 GB, free: 7.785 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.06482, allocations: 131.5 kB / 0.8354 GB, free: 7.656 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.06487, allocations: 35.97 kB / 0.8354 GB, free: 7.621 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.0001577/0.06503, allocations: 232 kB / 0.8356 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.06515, allocations: 107.9 kB / 0.8357 GB, free: 7.281 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.06592, allocations: 0.6368 MB / 0.8363 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.06593, allocations: 11.98 kB / 0.8364 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.06593, allocations: 0 / 0.8364 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003896/0.06632, allocations: 396.2 kB / 0.8367 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.06802, allocations: 1.474 MB / 0.8382 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.06802, allocations: 4 kB / 0.8382 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.06851, allocations: 196 kB / 0.8384 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.06852, allocations: 8 kB / 0.8384 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.06856, allocations: 27.97 kB / 0.8384 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.06856, allocations: 4 kB / 0.8384 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.06857, allocations: 11.94 kB / 0.8384 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008722/0.06944, allocations: 0.8653 MB / 0.8393 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.06971, allocations: 198.8 kB / 0.8394 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.06981, allocations: 23.98 kB / 0.8395 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.07025, allocations: 79.97 kB / 0.8395 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.07034, allocations: 80.25 kB / 0.8396 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.07039, allocations: 31.97 kB / 0.8397 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000389/0.07078, allocations: 0.5449 MB / 0.8402 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.07078, allocations: 0 / 0.8402 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001055/0.07183, allocations: 0.7757 MB / 0.8409 GB, free: 1.711 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.0004965/0.07233, allocations: 304.8 kB / 0.8412 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008895/0.07322, allocations: 0.8409 MB / 0.8421 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.07323, allocations: 20.06 kB / 0.8421 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.0735, allocations: 228.7 kB / 0.8423 GB, free: 300 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.07483, allocations: 0.6493 MB / 0.8429 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.07759, allocations: 2.403 MB / 0.8453 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.07778, allocations: 277.6 kB / 0.8455 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007356/0.07851, allocations: 290.5 kB / 0.8458 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009342/0.07945, allocations: 0.5067 MB / 0.8463 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.07945, allocations: 0 / 0.8463 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.0322/0.1117, allocations: 30.56 MB / 0.8761 GB, free: 14.17 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 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.424564560875297]