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.0008613/0.0008613, 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.0009847/0.0009847, 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.9195/0.9195, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.995/1.995, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] 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.834e-06/1.834e-06, allocations: 0.5469 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.659e-05, allocations: 6.281 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.03469/0.03472, allocations: 19.23 MB / 0.794 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01948/0.05419, allocations: 8.075 MB / 0.8018 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.05654, allocations: 99.12 kB / 0.8019 GB, free: 10 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.05813, allocations: 0.6144 MB / 0.8025 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.06303, allocations: 1.837 MB / 0.8043 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.06687, allocations: 1.477 MB / 0.8058 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006046/0.07292, allocations: 4.291 MB / 0.81 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.07525, allocations: 1.11 MB / 0.811 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003279/0.07853, allocations: 2.086 MB / 0.8131 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.08005, allocations: 1.014 MB / 0.8141 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.08031, allocations: 140 kB / 0.8142 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.08173, allocations: 0.8348 MB / 0.815 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.08204, allocations: 459.3 kB / 0.8155 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006904/0.08273, allocations: 0.6195 MB / 0.8161 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.08528, allocations: 1.818 MB / 0.8178 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.08528, allocations: 0.5625 kB / 0.8178 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.08528, allocations: 0 / 0.8178 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.302e-05/0.08533, allocations: 4.594 kB / 0.8178 GB, free: 9.668 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.003032/0.08836, allocations: 2.071 MB / 0.8199 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.08839, allocations: 9.344 kB / 0.8199 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.08994, allocations: 0.5555 MB / 0.8204 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.09142, allocations: 1.011 MB / 0.8214 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.09155, allocations: 204.8 kB / 0.8216 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.09167, allocations: 100 kB / 0.8217 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.0928, allocations: 1.055 MB / 0.8227 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.09283, allocations: 8.453 kB / 0.8227 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/0.09289, allocations: 37.19 kB / 0.8228 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.09292, allocations: 27.94 kB / 0.8228 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.09348, allocations: 395 kB / 0.8232 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.09683, allocations: 2.614 MB / 0.8257 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.09736, allocations: 424.8 kB / 0.8261 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.09757, allocations: 161.6 kB / 0.8263 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.09777, allocations: 96.58 kB / 0.8264 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/0.09816, allocations: 461.1 kB / 0.8268 GB, free: 212 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.034e-06/0.09817, allocations: 0 / 0.8268 GB, free: 212 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0007704/0.09894, allocations: 489.8 kB / 0.8273 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.09897, allocations: 60.06 kB / 0.8273 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008905/0.09986, allocations: 1.049 MB / 0.8284 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.09993, allocations: 41.7 kB / 0.8284 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.1003, allocations: 489.2 kB / 0.8289 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.1005, allocations: 253.8 kB / 0.8291 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.1007, allocations: 170.5 kB / 0.8293 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.1008, allocations: 345.8 kB / 0.8296 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.101, allocations: 153.3 kB / 0.8298 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.1014, allocations: 0.8335 MB / 0.8306 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.1019, allocations: 463.3 kB / 0.831 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1019, allocations: 0 / 0.831 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006806/0.1026, allocations: 0.5439 MB / 0.8315 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002391/0.1028, allocations: 33.7 kB / 0.8316 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1028, allocations: 8 kB / 0.8316 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1028, allocations: 4 kB / 0.8316 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.1034, allocations: 215.9 kB / 0.8318 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1034, allocations: 11.94 kB / 0.8318 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.1039, allocations: 131.4 kB / 0.8319 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.104, allocations: 35.92 kB / 0.832 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003576/0.1043, allocations: 245.4 kB / 0.8322 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004262/0.1048, allocations: 0.8373 MB / 0.833 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004292/0.1052, allocations: 440.6 kB / 0.8334 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.1052, allocations: 7.984 kB / 0.8334 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0006298/0.1058, allocations: 0.5519 MB / 0.834 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.1059, allocations: 36.2 kB / 0.834 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1059, allocations: 4 kB / 0.834 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.1059, allocations: 8 kB / 0.834 GB, free: 8.145 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.1064, allocations: 215.8 kB / 0.8342 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1064, allocations: 7.938 kB / 0.8342 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.1069, allocations: 123.6 kB / 0.8344 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.1069, allocations: 35.97 kB / 0.8344 GB, free: 7.77 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.0001777/0.1071, allocations: 238.5 kB / 0.8346 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.1072, allocations: 107.9 kB / 0.8347 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007735/0.108, allocations: 0.633 MB / 0.8353 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.108, allocations: 7.984 kB / 0.8354 GB, free: 6.77 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.108, allocations: 8 kB / 0.8354 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003828/0.1084, allocations: 400.1 kB / 0.8357 GB, free: 6.34 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.1102, allocations: 1.463 MB / 0.8372 GB, free: 4.789 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1102, allocations: 4 kB / 0.8372 GB, free: 4.785 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.1107, allocations: 180.3 kB / 0.8373 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.1107, allocations: 11.92 kB / 0.8374 GB, free: 4.598 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.1107, allocations: 27.98 kB / 0.8374 GB, free: 4.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.1107, allocations: 15.94 kB / 0.8374 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1107, allocations: 4 kB / 0.8374 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.1119, allocations: 0.8652 MB / 0.8382 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.1122, allocations: 210.7 kB / 0.8384 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.1123, allocations: 16 kB / 0.8385 GB, free: 3.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.1128, allocations: 83.95 kB / 0.8385 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.1129, allocations: 72.27 kB / 0.8386 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.1129, allocations: 27.97 kB / 0.8386 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004246/0.1134, allocations: 0.5449 MB / 0.8392 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1134, allocations: 0 / 0.8392 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001239/0.1146, allocations: 0.7718 MB / 0.8399 GB, free: 1.879 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.0005408/0.1151, allocations: 318.5 kB / 0.8402 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009542/0.1161, allocations: 0.8362 MB / 0.841 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/0.1161, allocations: 16 kB / 0.8411 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.1164, allocations: 242.5 kB / 0.8413 GB, free: 456 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.1178, allocations: 0.661 MB / 0.8419 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.1208, allocations: 2.388 MB / 0.8443 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.121, allocations: 273.6 kB / 0.8445 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000822/0.1218, allocations: 294.5 kB / 0.8448 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.1229, allocations: 0.5107 MB / 0.8453 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of SimCode: time 1.193e-06/0.1229, allocations: 0 / 0.8453 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.03515/0.158, allocations: 30.52 MB / 0.8751 GB, free: 14.37 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.815771438647062]