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.0009338/0.0009338, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009854/0.0009854, allocations: 169.8 kB / 25.18 MB, free: 9.113 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.953/0.953, allocations: 177.1 MB / 205.6 MB, free: 4.363 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.866/1.866, allocations: 389.6 MB / 0.6364 GB, free: 13.29 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.473e-06/1.473e-06, allocations: 3.938 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.484e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.01433/0.01434, allocations: 19.27 MB / 0.7944 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.02459, allocations: 8.004 MB / 0.8022 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.02572, allocations: 95.19 kB / 0.8023 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.02682, allocations: 0.6282 MB / 0.8029 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.02939, allocations: 1.821 MB / 0.8047 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.3877/0.417, allocations: 1.424 MB / 0.8061 GB, free: 20.32 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004465/0.4215, allocations: 4.293 MB / 0.8103 GB, free: 19.68 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.4232, allocations: 1.101 MB / 0.8114 GB, free: 19.53 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.4258, allocations: 2.055 MB / 0.8134 GB, free: 19.34 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.4273, allocations: 1.006 MB / 0.8143 GB, free: 19.2 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002928/0.4276, allocations: 140.5 kB / 0.8145 GB, free: 19.2 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.4292, allocations: 0.8327 MB / 0.8153 GB, free: 19.17 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.4295, allocations: 448.9 kB / 0.8157 GB, free: 19.08 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007618/0.4302, allocations: 0.6163 MB / 0.8163 GB, free: 19 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.4324, allocations: 1.793 MB / 0.8181 GB, free: 18.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4324, allocations: 0.5938 kB / 0.8181 GB, free: 18.82 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4325, allocations: 2.812 kB / 0.8181 GB, free: 18.82 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.249e-05/0.4325, allocations: 0.5625 kB / 0.8181 GB, free: 18.82 MB / 0.7605 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.002546/0.435, allocations: 2.027 MB / 0.8201 GB, free: 17.78 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.4351, allocations: 10.53 kB / 0.8201 GB, free: 17.78 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.4366, allocations: 0.5096 MB / 0.8206 GB, free: 17.77 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.4378, allocations: 0.9975 MB / 0.8215 GB, free: 17.36 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.4379, allocations: 205.2 kB / 0.8217 GB, free: 17.22 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.438, allocations: 109.1 kB / 0.8218 GB, free: 17.22 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4392, allocations: 1.036 MB / 0.8228 GB, free: 16.89 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4393, allocations: 7.672 kB / 0.8229 GB, free: 16.89 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.4393, allocations: 42.28 kB / 0.8229 GB, free: 16.89 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.4394, allocations: 26.8 kB / 0.8229 GB, free: 16.89 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.4399, allocations: 383.3 kB / 0.8233 GB, free: 16.86 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.4428, allocations: 2.607 MB / 0.8258 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.4442, allocations: 0.6279 MB / 0.8264 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.4444, allocations: 175.5 kB / 0.8266 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.4446, allocations: 94.86 kB / 0.8267 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004204/0.445, allocations: 452.2 kB / 0.8271 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=70): time 1.993e-06/0.445, allocations: 1.219 kB / 0.8271 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=70): time 0.0007293/0.4458, allocations: 479.1 kB / 0.8276 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4458, allocations: 61.48 kB / 0.8277 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.4465, allocations: 1.01 MB / 0.8286 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.4466, allocations: 45.11 kB / 0.8287 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.4468, allocations: 486.8 kB / 0.8291 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.447, allocations: 247.2 kB / 0.8294 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4471, allocations: 171.9 kB / 0.8295 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.4472, allocations: 340.1 kB / 0.8299 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.4474, allocations: 149.1 kB / 0.83 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.4477, allocations: 0.8328 MB / 0.8308 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.4482, allocations: 447.2 kB / 0.8313 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4482, allocations: 2.188 kB / 0.8313 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000672/0.4489, allocations: 0.5427 MB / 0.8318 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.4489, allocations: 34.64 kB / 0.8318 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4489, allocations: 3.844 kB / 0.8318 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4489, allocations: 10.14 kB / 0.8318 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.4495, allocations: 233.2 kB / 0.8321 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4496, allocations: 11.81 kB / 0.8321 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.45, allocations: 131 kB / 0.8322 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.4501, allocations: 37.14 kB / 0.8322 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003184/0.4504, allocations: 238.3 kB / 0.8325 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003186/0.4507, allocations: 0.8379 MB / 0.8333 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004564/0.4512, allocations: 438.4 kB / 0.8337 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.4512, allocations: 1.094 kB / 0.8337 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0006649/0.4519, allocations: 0.5372 MB / 0.8342 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4519, allocations: 41.05 kB / 0.8343 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4519, allocations: 5.5 kB / 0.8343 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.4519, allocations: 8.484 kB / 0.8343 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.4524, allocations: 230 kB / 0.8345 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4524, allocations: 10.02 kB / 0.8345 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.4529, allocations: 136 kB / 0.8346 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.4529, allocations: 32.41 kB / 0.8347 GB, free: 11.71 MB / 0.7605 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.0001213/0.4531, allocations: 228 kB / 0.8349 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.4532, allocations: 108.4 kB / 0.835 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007412/0.4539, allocations: 0.6307 MB / 0.8356 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.454, allocations: 14.7 kB / 0.8356 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.454, allocations: 1.188 kB / 0.8356 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003796/0.4543, allocations: 393.4 kB / 0.836 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.456, allocations: 1.445 MB / 0.8374 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.456, allocations: 3.875 kB / 0.8374 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.4565, allocations: 193 kB / 0.8376 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4565, allocations: 14.47 kB / 0.8376 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.4566, allocations: 29.86 kB / 0.8376 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.4566, allocations: 13.25 kB / 0.8376 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4566, allocations: 7.219 kB / 0.8376 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.4573, allocations: 0.8437 MB / 0.8385 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.4576, allocations: 193.1 kB / 0.8387 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.4577, allocations: 21.38 kB / 0.8387 GB, free: 10 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.4581, allocations: 86.17 kB / 0.8388 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.4582, allocations: 71.92 kB / 0.8388 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.4582, allocations: 31.38 kB / 0.8389 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003274/0.4586, allocations: 0.522 MB / 0.8394 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.4586, allocations: 0 / 0.8394 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001024/0.4596, allocations: 0.7706 MB / 0.8401 GB, free: 9.723 MB / 0.7605 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.0004918/0.4601, allocations: 338.3 kB / 0.8404 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007828/0.4609, allocations: 0.8144 MB / 0.8412 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/0.4609, allocations: 17.66 kB / 0.8412 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.4611, allocations: 236.8 kB / 0.8415 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.4625, allocations: 0.6529 MB / 0.8421 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.4649, allocations: 2.389 MB / 0.8444 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4653, allocations: 0.6181 MB / 0.845 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009638/0.4662, allocations: 0.5253 MB / 0.8456 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of SimCode: time 8.31e-07/0.4662, allocations: 0 / 0.8456 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of Templates: time 0.01746/0.4837, allocations: 24.2 MB / 0.8692 GB, free: 424 kB / 0.7761 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 > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.766994935460389]