Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.001935/0.001935, allocations: 108.3 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.002242/0.002242, allocations: 214.3 kB / 23.03 MB, free: 2.949 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.73/1.73, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.557/3.557, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003652/0.003652, allocations: 67.89 kB / 1.177 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9323/0.9359, allocations: 180 MB / 1.353 GB, free: 1.57 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07538/1.011, allocations: 55.91 MB / 1.408 GB, free: 9.469 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.0224/1.034, allocations: 12.23 MB / 1.419 GB, free: 13.21 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/1.036, allocations: 95.19 kB / 1.42 GB, free: 13.12 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.002902/1.039, allocations: 0.9392 MB / 1.42 GB, free: 12.17 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.008176/1.047, allocations: 2.471 MB / 1.423 GB, free: 9.691 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/1.052, allocations: 1.6 MB / 1.424 GB, free: 8.102 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.00773/1.06, allocations: 4.362 MB / 1.429 GB, free: 3.727 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/1.062, allocations: 1.032 MB / 1.43 GB, free: 2.66 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005707/1.068, allocations: 1.864 MB / 1.432 GB, free: 0.7969 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/1.071, allocations: 1.182 MB / 1.433 GB, free: 15.61 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.0003618/1.071, allocations: 144 kB / 1.433 GB, free: 15.47 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/1.075, allocations: 1.216 MB / 1.434 GB, free: 14.25 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.0005933/1.076, allocations: 446.2 kB / 1.434 GB, free: 13.81 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/1.077, allocations: 0.7387 MB / 1.435 GB, free: 13.07 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.00625/1.083, allocations: 2.841 MB / 1.438 GB, free: 10.22 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.083, allocations: 7.938 kB / 1.438 GB, free: 10.21 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.264e-06/1.083, allocations: 0 / 1.438 GB, free: 10.21 MB / 1.12 GB Notification: Performance of Transformations before backend: time 5.652e-05/1.083, allocations: 0 / 1.438 GB, free: 10.21 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.005672/1.089, allocations: 2.178 MB / 1.44 GB, free: 7.984 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.089, allocations: 8.922 kB / 1.44 GB, free: 7.977 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/1.093, allocations: 0.62 MB / 1.441 GB, free: 7.355 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/1.096, allocations: 1.413 MB / 1.442 GB, free: 5.895 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/1.097, allocations: 200.7 kB / 1.442 GB, free: 5.676 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/1.097, allocations: 100 kB / 1.442 GB, free: 5.578 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/1.101, allocations: 1.532 MB / 1.444 GB, free: 3.973 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/1.101, allocations: 0 / 1.444 GB, free: 3.973 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.101, allocations: 40 kB / 1.444 GB, free: 3.934 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/1.101, allocations: 24 kB / 1.444 GB, free: 3.91 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/1.105, allocations: 1.417 MB / 1.445 GB, free: 2.492 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.008749/1.114, allocations: 3.977 MB / 1.449 GB, free: 14.43 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00594/1.12, allocations: 1.254 MB / 1.45 GB, free: 13.17 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/1.122, allocations: 0.6005 MB / 1.451 GB, free: 12.57 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000478/1.122, allocations: 120.5 kB / 1.451 GB, free: 12.45 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/1.124, allocations: 0.8419 MB / 1.452 GB, free: 11.55 MB / 1.135 GB Notification: Performance of pre-optimization done (n=70): time 4.358e-06/1.124, allocations: 4 kB / 1.452 GB, free: 11.55 MB / 1.135 GB Notification: Performance of matching and sorting (n=70): time 0.00616/1.131, allocations: 1.754 MB / 1.454 GB, free: 9.793 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/1.131, allocations: 68 kB / 1.454 GB, free: 9.711 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/1.133, allocations: 1.221 MB / 1.455 GB, free: 8.477 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/1.133, allocations: 45.7 kB / 1.455 GB, free: 8.426 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.000796/1.134, allocations: 0.6788 MB / 1.456 GB, free: 7.742 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/1.134, allocations: 253.8 kB / 1.456 GB, free: 7.492 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/1.134, allocations: 178.5 kB / 1.456 GB, free: 7.312 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.135, allocations: 341.9 kB / 1.456 GB, free: 6.973 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/1.136, allocations: 0.5802 MB / 1.457 GB, free: 6.383 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/1.139, allocations: 1.278 MB / 1.458 GB, free: 4.902 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/1.143, allocations: 1.187 MB / 1.459 GB, free: 3.668 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.143, allocations: 4 kB / 1.459 GB, free: 3.664 MB / 1.135 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004519/1.147, allocations: 1.484 MB / 1.461 GB, free: 2.16 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/1.147, allocations: 37.69 kB / 1.461 GB, free: 2.117 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.147, allocations: 7.984 kB / 1.461 GB, free: 2.109 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/1.147, allocations: 4 kB / 1.461 GB, free: 2.105 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.149, allocations: 275.8 kB / 1.461 GB, free: 1.836 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/1.149, allocations: 11.92 kB / 1.461 GB, free: 1.824 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.15, allocations: 183.4 kB / 1.461 GB, free: 1.645 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.15, allocations: 43.97 kB / 1.461 GB, free: 1.602 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002306/1.153, allocations: 0.8353 MB / 1.462 GB, free: 0.7539 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002296/1.155, allocations: 1.28 MB / 1.463 GB, free: 15.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003859/1.159, allocations: 1.183 MB / 1.465 GB, free: 14.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/1.159, allocations: 0 / 1.465 GB, free: 14.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004538/1.163, allocations: 1.476 MB / 1.466 GB, free: 12.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/1.163, allocations: 33.77 kB / 1.466 GB, free: 12.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.163, allocations: 4 kB / 1.466 GB, free: 12.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.163, allocations: 8 kB / 1.466 GB, free: 12.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.165, allocations: 263.6 kB / 1.466 GB, free: 12.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.165, allocations: 15.98 kB / 1.466 GB, free: 12.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/1.167, allocations: 183.4 kB / 1.466 GB, free: 12.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.167, allocations: 39.97 kB / 1.466 GB, free: 12 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.0003778/1.167, allocations: 232.1 kB / 1.467 GB, free: 11.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/1.167, allocations: 155 kB / 1.467 GB, free: 11.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/1.172, allocations: 1.512 MB / 1.468 GB, free: 10.08 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/1.172, allocations: 8 kB / 1.468 GB, free: 10.07 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.172, allocations: 7.938 kB / 1.468 GB, free: 10.06 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003637/1.175, allocations: 1.285 MB / 1.47 GB, free: 8.746 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007407/1.183, allocations: 2.773 MB / 1.472 GB, free: 5.883 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.183, allocations: 4 kB / 1.472 GB, free: 5.879 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.184, allocations: 228.2 kB / 1.473 GB, free: 5.656 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/1.184, allocations: 8 kB / 1.473 GB, free: 5.648 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/1.184, allocations: 31.97 kB / 1.473 GB, free: 5.617 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/1.184, allocations: 11.94 kB / 1.473 GB, free: 5.605 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.184, allocations: 7.938 kB / 1.473 GB, free: 5.598 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006783/1.191, allocations: 2.309 MB / 1.475 GB, free: 3.215 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/1.192, allocations: 262.8 kB / 1.475 GB, free: 2.957 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/1.192, allocations: 16 kB / 1.475 GB, free: 2.941 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.194, allocations: 135.9 kB / 1.475 GB, free: 2.809 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/1.194, allocations: 72.27 kB / 1.475 GB, free: 2.738 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.194, allocations: 47.91 kB / 1.475 GB, free: 2.691 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001403/1.195, allocations: 0.8397 MB / 1.476 GB, free: 1.852 MB / 1.151 GB Notification: Performance of sort global known variables: time 8e-08/1.195, allocations: 0 / 1.476 GB, free: 1.852 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002432/1.198, allocations: 0.8457 MB / 1.477 GB, free: 1.004 MB / 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.001188/1.199, allocations: 0.4961 MB / 1.477 GB, free: 0.5039 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006291/1.205, allocations: 2.061 MB / 1.479 GB, free: 14.41 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.205, allocations: 0 / 1.479 GB, free: 14.41 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/1.207, allocations: 0.687 MB / 1.48 GB, free: 13.71 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/1.21, allocations: 0.6122 MB / 1.481 GB, free: 13.11 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007482/1.218, allocations: 2.916 MB / 1.484 GB, free: 10.11 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/1.219, allocations: 0.651 MB / 1.484 GB, free: 9.426 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001673/1.22, allocations: 350.4 kB / 1.485 GB, free: 9.078 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/1.221, allocations: 127.4 kB / 1.485 GB, free: 8.953 MB / 1.167 GB Notification: Performance of SimCode: time 1.202e-06/1.221, allocations: 0 / 1.485 GB, free: 8.953 MB / 1.167 GB Notification: Performance of Templates: time 0.07477/1.295, allocations: 32.87 MB / 1.517 GB, free: 8.688 MB / 1.198 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.169089822098613]