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.0008877/0.0008877, allocations: 80.94 kB / 21.54 MB, free: 2.949 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.00111/0.00111, allocations: 161.6 kB / 24.96 MB, free: 8.75 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.9123/0.9123, allocations: 177.1 MB / 205.4 MB, free: 5.48 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.853/1.853, 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.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.904e-06/1.904e-06, allocations: 0.6562 kB / 0.776 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.649e-05, allocations: 2.312 kB / 0.776 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.01462/0.01464, allocations: 19.28 MB / 0.7948 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.02526, allocations: 8.077 MB / 0.8027 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.0266, allocations: 99.12 kB / 0.8028 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.02771, allocations: 0.6133 MB / 0.8034 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.03038, allocations: 1.829 MB / 0.8052 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.03286, allocations: 1.462 MB / 0.8066 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00314/0.036, allocations: 4.292 MB / 0.8108 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.03721, allocations: 1.115 MB / 0.8119 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.03924, allocations: 2.045 MB / 0.8139 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/0.04017, allocations: 1.01 MB / 0.8149 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.04031, allocations: 140 kB / 0.815 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.04154, allocations: 0.8669 MB / 0.8159 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.04181, allocations: 454.1 kB / 0.8163 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.04231, allocations: 0.6156 MB / 0.8169 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.04398, allocations: 1.822 MB / 0.8187 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.04399, allocations: 5.281 kB / 0.8187 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.04399, allocations: 0 / 0.8187 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.044, allocations: 0 / 0.8187 GB, free: 9.609 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.001946/0.04595, allocations: 2.067 MB / 0.8207 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.04598, allocations: 13.91 kB / 0.8207 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.04754, allocations: 0.5505 MB / 0.8212 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.04885, allocations: 1.015 MB / 0.8222 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.04899, allocations: 201.7 kB / 0.8224 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.04911, allocations: 104 kB / 0.8225 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.05023, allocations: 1.063 MB / 0.8236 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.05025, allocations: 3.953 kB / 0.8236 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.05047, allocations: 40 kB / 0.8236 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.0505, allocations: 25.03 kB / 0.8236 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.05103, allocations: 387.1 kB / 0.824 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.05401, allocations: 2.618 MB / 0.8266 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.05455, allocations: 425.4 kB / 0.827 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.05505, allocations: 169.5 kB / 0.8271 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.05524, allocations: 92.59 kB / 0.8272 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.05564, allocations: 453.2 kB / 0.8276 GB, free: 152 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.285e-06/0.05564, allocations: 0 / 0.8276 GB, free: 152 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0007159/0.05636, allocations: 489.8 kB / 0.8281 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.0564, allocations: 68 kB / 0.8282 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.05709, allocations: 1.045 MB / 0.8292 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.05715, allocations: 41.7 kB / 0.8292 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.05738, allocations: 493.2 kB / 0.8297 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.05752, allocations: 249.8 kB / 0.8299 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.05771, allocations: 174.5 kB / 0.8301 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.0578, allocations: 345.8 kB / 0.8304 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.058, allocations: 145.3 kB / 0.8306 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.05846, allocations: 0.8412 MB / 0.8314 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.05895, allocations: 459.3 kB / 0.8318 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.05895, allocations: 0 / 0.8318 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006256/0.05958, allocations: 0.5439 MB / 0.8324 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.05961, allocations: 29.7 kB / 0.8324 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.05962, allocations: 4 kB / 0.8324 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.05964, allocations: 8 kB / 0.8324 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.06023, allocations: 239.8 kB / 0.8326 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.06024, allocations: 8 kB / 0.8326 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.0607, allocations: 135.5 kB / 0.8328 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.06076, allocations: 31.91 kB / 0.8328 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003318/0.06109, allocations: 245.5 kB / 0.833 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009146/0.06201, allocations: 0.8451 MB / 0.8339 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004642/0.06247, allocations: 436.6 kB / 0.8343 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-06/0.06248, allocations: 8 kB / 0.8343 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0006358/0.06311, allocations: 0.544 MB / 0.8348 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.06314, allocations: 40.03 kB / 0.8349 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.06314, allocations: 4 kB / 0.8349 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.06315, allocations: 4 kB / 0.8349 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.06368, allocations: 235.7 kB / 0.8351 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.06369, allocations: 8 kB / 0.8351 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.06414, allocations: 127.5 kB / 0.8352 GB, free: 7.707 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.06419, allocations: 31.97 kB / 0.8352 GB, free: 7.676 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.0001915/0.06439, allocations: 236 kB / 0.8355 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.06452, allocations: 107.9 kB / 0.8356 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/0.06534, allocations: 0.6368 MB / 0.8362 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.06536, allocations: 12.17 kB / 0.8362 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.06536, allocations: 0 / 0.8362 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004029/0.06576, allocations: 404.1 kB / 0.8366 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.06755, allocations: 1.47 MB / 0.838 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.06756, allocations: 4.562 kB / 0.838 GB, free: 4.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.06805, allocations: 195.7 kB / 0.8382 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.06806, allocations: 8 kB / 0.8382 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.0681, allocations: 27.97 kB / 0.8383 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.06811, allocations: 8 kB / 0.8383 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.06811, allocations: 11.88 kB / 0.8383 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.06902, allocations: 0.8653 MB / 0.8391 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.06931, allocations: 202.7 kB / 0.8393 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.06941, allocations: 20 kB / 0.8393 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.06984, allocations: 83.95 kB / 0.8394 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.06994, allocations: 72.27 kB / 0.8395 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.07, allocations: 31.97 kB / 0.8395 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004113/0.07041, allocations: 0.5449 MB / 0.84 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.07041, allocations: 0 / 0.84 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001433/0.07185, allocations: 0.7718 MB / 0.8408 GB, free: 1.762 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.0005645/0.07241, allocations: 325 kB / 0.8411 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009449/0.07335, allocations: 0.8318 MB / 0.8419 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.07337, allocations: 12 kB / 0.8419 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.07365, allocations: 243 kB / 0.8422 GB, free: 344 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.07502, allocations: 0.6499 MB / 0.8428 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.07785, allocations: 2.395 MB / 0.8451 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.07803, allocations: 277.6 kB / 0.8454 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007198/0.07875, allocations: 290.5 kB / 0.8457 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009683/0.07972, allocations: 0.5107 MB / 0.8462 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of SimCode: time 1.082e-06/0.07972, allocations: 0 / 0.8462 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.0328/0.1125, allocations: 30.53 MB / 0.876 GB, free: 14.24 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.575235432945192]