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.001878/0.001878, allocations: 100.4 kB / 19.72 MB, free: 416 kB / 13.93 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.002304/0.002304, allocations: 216 kB / 23.02 MB, free: 2.941 MB / 13.93 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 1.802/1.802, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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 3.394/3.394, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003894/0.003894, allocations: 67.89 kB / 1.177 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9461/0.95, allocations: 180 MB / 1.353 GB, free: 1.562 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.07598/1.026, allocations: 55.9 MB / 1.408 GB, free: 9.465 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.02409/1.05, allocations: 12.27 MB / 1.419 GB, free: 13.17 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/1.054, allocations: 95.19 kB / 1.42 GB, free: 13.07 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.003373/1.057, allocations: 0.9392 MB / 1.42 GB, free: 12.13 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.009386/1.066, allocations: 2.475 MB / 1.423 GB, free: 9.645 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.005313/1.072, allocations: 1.617 MB / 1.424 GB, free: 8.039 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.009108/1.081, allocations: 4.361 MB / 1.429 GB, free: 3.664 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/1.083, allocations: 1.036 MB / 1.43 GB, free: 2.594 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006048/1.089, allocations: 1.848 MB / 1.432 GB, free: 0.7461 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/1.092, allocations: 1.186 MB / 1.433 GB, free: 15.55 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.0003492/1.093, allocations: 144 kB / 1.433 GB, free: 15.41 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/1.097, allocations: 1.244 MB / 1.434 GB, free: 14.17 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.0006036/1.097, allocations: 458.2 kB / 1.435 GB, free: 13.72 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.099, allocations: 0.7503 MB / 1.435 GB, free: 12.96 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.007094/1.106, allocations: 2.876 MB / 1.438 GB, free: 10.08 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.106, allocations: 0 / 1.438 GB, free: 10.08 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.485e-06/1.106, allocations: 0 / 1.438 GB, free: 10.08 MB / 1.12 GB Notification: Performance of Transformations before backend: time 4.906e-05/1.106, allocations: 0 / 1.438 GB, free: 10.08 MB / 1.12 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.005317/1.111, allocations: 2.217 MB / 1.44 GB, free: 7.812 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/1.111, allocations: 16.88 kB / 1.44 GB, free: 7.797 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/1.116, allocations: 0.6551 MB / 1.441 GB, free: 7.141 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/1.119, allocations: 1.426 MB / 1.442 GB, free: 5.668 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/1.119, allocations: 200.7 kB / 1.442 GB, free: 5.449 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/1.119, allocations: 108 kB / 1.443 GB, free: 5.344 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003898/1.123, allocations: 1.543 MB / 1.444 GB, free: 3.727 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/1.123, allocations: 3.984 kB / 1.444 GB, free: 3.723 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.123, allocations: 40 kB / 1.444 GB, free: 3.684 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/1.123, allocations: 28 kB / 1.444 GB, free: 3.656 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/1.128, allocations: 1.452 MB / 1.446 GB, free: 2.203 MB / 1.12 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009175/1.137, allocations: 4.016 MB / 1.449 GB, free: 14.11 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/1.14, allocations: 0.9208 MB / 1.45 GB, free: 13.18 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/1.142, allocations: 0.5966 MB / 1.451 GB, free: 12.58 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005288/1.142, allocations: 128.5 kB / 1.451 GB, free: 12.45 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/1.144, allocations: 0.8537 MB / 1.452 GB, free: 11.55 MB / 1.135 GB Notification: Performance of pre-optimization done (n=70): time 3.486e-06/1.145, allocations: 0 / 1.452 GB, free: 11.55 MB / 1.135 GB Notification: Performance of matching and sorting (n=70): time 0.006001/1.151, allocations: 1.812 MB / 1.454 GB, free: 9.73 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/1.151, allocations: 64.06 kB / 1.454 GB, free: 9.652 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/1.153, allocations: 1.282 MB / 1.455 GB, free: 8.359 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/1.153, allocations: 45.64 kB / 1.455 GB, free: 8.309 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008663/1.154, allocations: 0.6939 MB / 1.456 GB, free: 7.609 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/1.154, allocations: 262.7 kB / 1.456 GB, free: 7.352 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/1.155, allocations: 182.5 kB / 1.456 GB, free: 7.168 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.155, allocations: 334 kB / 1.456 GB, free: 6.836 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/1.157, allocations: 0.5958 MB / 1.457 GB, free: 6.23 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/1.159, allocations: 1.29 MB / 1.458 GB, free: 4.738 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/1.163, allocations: 1.218 MB / 1.459 GB, free: 3.473 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.163, allocations: 3.938 kB / 1.46 GB, free: 3.469 MB / 1.135 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004586/1.167, allocations: 1.523 MB / 1.461 GB, free: 1.926 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/1.167, allocations: 33.7 kB / 1.461 GB, free: 1.887 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.168, allocations: 4 kB / 1.461 GB, free: 1.883 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/1.168, allocations: 11.94 kB / 1.461 GB, free: 1.871 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/1.169, allocations: 271.9 kB / 1.461 GB, free: 1.605 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/1.169, allocations: 8 kB / 1.461 GB, free: 1.598 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/1.171, allocations: 179.4 kB / 1.461 GB, free: 1.422 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.171, allocations: 39.98 kB / 1.462 GB, free: 1.383 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002429/1.173, allocations: 0.8627 MB / 1.462 GB, free: 0.5078 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002584/1.176, allocations: 1.297 MB / 1.464 GB, free: 15.01 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003614/1.179, allocations: 1.207 MB / 1.465 GB, free: 13.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/1.179, allocations: 0 / 1.465 GB, free: 13.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004568/1.184, allocations: 1.511 MB / 1.466 GB, free: 12.22 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/1.184, allocations: 37.69 kB / 1.466 GB, free: 12.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.184, allocations: 4 kB / 1.466 GB, free: 12.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.184, allocations: 8 kB / 1.466 GB, free: 12.17 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/1.185, allocations: 271.6 kB / 1.467 GB, free: 11.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/1.185, allocations: 8 kB / 1.467 GB, free: 11.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.187, allocations: 179.5 kB / 1.467 GB, free: 11.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/1.187, allocations: 39.98 kB / 1.467 GB, free: 11.68 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (97): * Single equations (assignments): 96 * 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.0003973/1.188, allocations: 236 kB / 1.467 GB, free: 11.44 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/1.188, allocations: 151 kB / 1.467 GB, free: 11.29 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/1.192, allocations: 1.556 MB / 1.469 GB, free: 9.711 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.192, allocations: 8 kB / 1.469 GB, free: 9.703 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.193, allocations: 7.984 kB / 1.469 GB, free: 9.695 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00371/1.196, allocations: 1.308 MB / 1.47 GB, free: 8.355 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007767/1.204, allocations: 2.828 MB / 1.473 GB, free: 5.438 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.204, allocations: 4 kB / 1.473 GB, free: 5.434 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/1.205, allocations: 228.2 kB / 1.473 GB, free: 5.211 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/1.205, allocations: 11.98 kB / 1.473 GB, free: 5.199 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/1.205, allocations: 27.92 kB / 1.473 GB, free: 5.172 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/1.205, allocations: 11.94 kB / 1.473 GB, free: 5.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.205, allocations: 4 kB / 1.473 GB, free: 5.156 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006523/1.212, allocations: 2.372 MB / 1.475 GB, free: 2.711 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008605/1.213, allocations: 274.7 kB / 1.476 GB, free: 2.441 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/1.213, allocations: 23.92 kB / 1.476 GB, free: 2.418 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.214, allocations: 135.9 kB / 1.476 GB, free: 2.285 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/1.215, allocations: 80.2 kB / 1.476 GB, free: 2.207 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.924e-05/1.215, allocations: 35.97 kB / 1.476 GB, free: 2.172 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001454/1.216, allocations: 0.8801 MB / 1.477 GB, free: 1.293 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.01e-07/1.216, allocations: 0 / 1.477 GB, free: 1.293 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002544/1.219, allocations: 0.8497 MB / 1.478 GB, free: 452 kB / 1.151 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.001274/1.22, allocations: 0.5038 MB / 1.478 GB, free: 15.93 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006202/1.226, allocations: 2.112 MB / 1.48 GB, free: 13.79 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.226, allocations: 0 / 1.48 GB, free: 13.79 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/1.228, allocations: 0.6948 MB / 1.481 GB, free: 13.09 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.231, allocations: 0.6141 MB / 1.481 GB, free: 12.49 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007394/1.239, allocations: 2.979 MB / 1.484 GB, free: 9.418 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009773/1.24, allocations: 0.6678 MB / 1.485 GB, free: 8.715 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001684/1.241, allocations: 358.4 kB / 1.485 GB, free: 8.359 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/1.242, allocations: 131.3 kB / 1.485 GB, free: 8.23 MB / 1.167 GB Notification: Performance of SimCode: time 1.042e-06/1.242, allocations: 0 / 1.485 GB, free: 8.23 MB / 1.167 GB Notification: Performance of Templates: time 0.06264/1.304, allocations: 33.3 MB / 1.518 GB, free: 7.543 MB / 1.198 GB " [Timeout remaining time 299] 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: 11.922448211349547]