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.0008899/0.0008899, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001067/0.001067, allocations: 165.1 kB / 24.96 MB, free: 8.129 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.9324/0.9324, allocations: 177.1 MB / 205.4 MB, free: 5.496 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.826/1.826, allocations: 389.6 MB / 0.6362 GB, free: 12.28 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,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 1.122e-06/1.122e-06, allocations: 0 / 0.776 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.145e-05, allocations: 2.312 kB / 0.776 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.01313/0.01314, allocations: 19.28 MB / 0.7948 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00862/0.02176, allocations: 8.047 MB / 0.8027 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007396/0.0225, allocations: 95.19 kB / 0.8028 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.02359, allocations: 0.607 MB / 0.8034 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.0256, allocations: 1.826 MB / 0.8051 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.02717, allocations: 1.453 MB / 0.8066 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.03003, allocations: 4.299 MB / 0.8108 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.03118, allocations: 1.111 MB / 0.8118 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.03285, allocations: 2.05 MB / 0.8138 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008483/0.0337, allocations: 1.021 MB / 0.8148 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.03384, allocations: 140 kB / 0.815 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009643/0.0348, allocations: 0.8235 MB / 0.8158 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.03506, allocations: 450.1 kB / 0.8162 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004368/0.0355, allocations: 0.6164 MB / 0.8168 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.03718, allocations: 1.783 MB / 0.8186 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.03718, allocations: 0.75 kB / 0.8186 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.71e-07/0.03718, allocations: 0 / 0.8186 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.0372, allocations: 0 / 0.8186 GB, free: 9.738 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.0018/0.03899, allocations: 2.032 MB / 0.8205 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.03903, allocations: 9.344 kB / 0.8205 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.04044, allocations: 0.5218 MB / 0.8211 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.04152, allocations: 0.9986 MB / 0.822 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.04165, allocations: 197.5 kB / 0.8222 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.04176, allocations: 104 kB / 0.8223 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.04287, allocations: 1.049 MB / 0.8233 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.04289, allocations: 0 / 0.8233 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.04295, allocations: 36 kB / 0.8234 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/0.04299, allocations: 31.94 kB / 0.8234 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.04355, allocations: 390.7 kB / 0.8238 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.04726, allocations: 2.604 MB / 0.8263 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.04881, allocations: 0.6275 MB / 0.8269 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.04912, allocations: 177.6 kB / 0.8271 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.04933, allocations: 92.59 kB / 0.8272 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004412/0.04977, allocations: 449.1 kB / 0.8276 GB, free: 188 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.006e-06/0.04977, allocations: 3.938 kB / 0.8276 GB, free: 184 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0008296/0.0506, allocations: 477.8 kB / 0.8281 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.05064, allocations: 64.06 kB / 0.8281 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/0.05141, allocations: 1.012 MB / 0.8291 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.05148, allocations: 45.7 kB / 0.8292 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.05174, allocations: 480.9 kB / 0.8296 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.05189, allocations: 253.8 kB / 0.8299 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.05207, allocations: 174.5 kB / 0.83 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.05216, allocations: 349.8 kB / 0.8304 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.05236, allocations: 137.3 kB / 0.8305 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.05277, allocations: 0.8335 MB / 0.8313 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.05323, allocations: 451.3 kB / 0.8318 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.05323, allocations: 4 kB / 0.8318 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006414/0.05387, allocations: 0.5319 MB / 0.8323 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.05391, allocations: 33.7 kB / 0.8323 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.05392, allocations: 4 kB / 0.8323 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.05394, allocations: 4 kB / 0.8323 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.05458, allocations: 240.1 kB / 0.8325 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.05458, allocations: 11.94 kB / 0.8326 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.05512, allocations: 131.5 kB / 0.8327 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.05518, allocations: 35.97 kB / 0.8327 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000384/0.05557, allocations: 233.5 kB / 0.8329 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003915/0.05596, allocations: 0.8412 MB / 0.8338 GB, free: 9.301 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004096/0.05637, allocations: 440.5 kB / 0.8342 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.05637, allocations: 0 / 0.8342 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0006071/0.05698, allocations: 0.5361 MB / 0.8347 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.05701, allocations: 35.73 kB / 0.8347 GB, free: 8.215 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.05701, allocations: 4.047 kB / 0.8347 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.05702, allocations: 11.98 kB / 0.8348 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.05754, allocations: 235.9 kB / 0.835 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.05754, allocations: 8 kB / 0.835 GB, free: 7.961 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.05806, allocations: 127.6 kB / 0.8351 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.05811, allocations: 27.97 kB / 0.8351 GB, free: 7.809 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.0002304/0.05834, allocations: 243.9 kB / 0.8354 GB, free: 7.562 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.05848, allocations: 111.8 kB / 0.8355 GB, free: 7.453 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000811/0.05929, allocations: 0.6168 MB / 0.8361 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.0593, allocations: 15.98 kB / 0.8361 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.0593, allocations: 4 kB / 0.8361 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003645/0.05967, allocations: 396.1 kB / 0.8365 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.06155, allocations: 1.443 MB / 0.8379 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.06155, allocations: 4 kB / 0.8379 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.06204, allocations: 195.8 kB / 0.8381 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.06205, allocations: 8 kB / 0.8381 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.06209, allocations: 27.97 kB / 0.8381 GB, free: 4.621 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.0621, allocations: 7.938 kB / 0.8381 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.0621, allocations: 8 kB / 0.8381 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/0.063, allocations: 0.8533 MB / 0.839 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.06332, allocations: 190.8 kB / 0.8391 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.06342, allocations: 23.98 kB / 0.8392 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.06386, allocations: 79.97 kB / 0.8392 GB, free: 3.383 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/0.06395, allocations: 76.25 kB / 0.8393 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.064, allocations: 27.97 kB / 0.8393 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004176/0.06442, allocations: 0.5315 MB / 0.8399 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/0.06442, allocations: 0 / 0.8399 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001286/0.0657, allocations: 0.7679 MB / 0.8406 GB, free: 1.973 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.0006368/0.06634, allocations: 310 kB / 0.8409 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.06752, allocations: 0.8211 MB / 0.8417 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.358e-05/0.06755, allocations: 16.12 kB / 0.8417 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.06786, allocations: 236.7 kB / 0.8419 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.06958, allocations: 0.654 MB / 0.8426 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.07316, allocations: 2.345 MB / 0.8449 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.07338, allocations: 269.5 kB / 0.8451 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0009839/0.07437, allocations: 290.3 kB / 0.8454 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.07538, allocations: 0.5028 MB / 0.8459 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of SimCode: time 1.613e-06/0.07538, allocations: 4 kB / 0.8459 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.03475/0.1101, allocations: 30.14 MB / 0.8753 GB, free: 14.92 MB / 0.8386 GB " [Timeout remaining time 300] 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: 5.616595659404993]