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.001049/0.001049, allocations: 80.88 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.001109/0.001109, allocations: 163.7 kB / 24.97 MB, free: 8.656 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.9901/0.9901, allocations: 177.1 MB / 205.4 MB, free: 5.5 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 2.003/2.003, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.763e-06/1.763e-06, allocations: 0 / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.294e-05, allocations: 3.531 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.0147/0.01472, allocations: 19.28 MB / 0.7948 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.02648, allocations: 8.078 MB / 0.8027 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.02792, allocations: 99.62 kB / 0.8028 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.02909, allocations: 0.6105 MB / 0.8034 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.03195, allocations: 1.825 MB / 0.8052 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.03422, allocations: 1.461 MB / 0.8066 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003398/0.03762, allocations: 4.293 MB / 0.8108 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.039, allocations: 1.128 MB / 0.8119 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.04095, allocations: 2.05 MB / 0.8139 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.04195, allocations: 1.006 MB / 0.8149 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.04211, allocations: 140 kB / 0.815 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.04343, allocations: 0.8623 MB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.04373, allocations: 458.1 kB / 0.8163 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.04433, allocations: 0.6164 MB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.04622, allocations: 1.822 MB / 0.8187 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.04623, allocations: 4.938 kB / 0.8187 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.473e-06/0.04623, allocations: 0 / 0.8187 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.04625, allocations: 1.25 kB / 0.8187 GB, free: 9.641 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.002164/0.04842, allocations: 2.066 MB / 0.8207 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.04845, allocations: 9.969 kB / 0.8207 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.05003, allocations: 0.5507 MB / 0.8213 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.05132, allocations: 1.019 MB / 0.8222 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.05145, allocations: 198.3 kB / 0.8224 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.05157, allocations: 108 kB / 0.8225 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.05268, allocations: 1.047 MB / 0.8236 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.0527, allocations: 11.89 kB / 0.8236 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.05277, allocations: 36 kB / 0.8236 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.0528, allocations: 31.98 kB / 0.8236 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.05335, allocations: 391.7 kB / 0.824 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.05636, allocations: 2.615 MB / 0.8266 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.05694, allocations: 430.7 kB / 0.827 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.05716, allocations: 165.6 kB / 0.8271 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.05734, allocations: 88.59 kB / 0.8272 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/0.05774, allocations: 457.1 kB / 0.8277 GB, free: 196 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 1.914e-06/0.05775, allocations: 4 kB / 0.8277 GB, free: 192 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0007103/0.05846, allocations: 485.8 kB / 0.8281 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.05849, allocations: 60.06 kB / 0.8282 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007323/0.05922, allocations: 1.057 MB / 0.8292 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.05928, allocations: 45.7 kB / 0.8293 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.05953, allocations: 481.3 kB / 0.8297 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.05967, allocations: 257.8 kB / 0.83 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.05987, allocations: 178.4 kB / 0.8301 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.06004, allocations: 337.8 kB / 0.8305 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.06026, allocations: 145.3 kB / 0.8306 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.06071, allocations: 0.8413 MB / 0.8314 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.06117, allocations: 455.3 kB / 0.8318 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.06118, allocations: 0 / 0.8318 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006285/0.06181, allocations: 0.5436 MB / 0.8324 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.06184, allocations: 37.69 kB / 0.8324 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.06185, allocations: 4.406 kB / 0.8324 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.06186, allocations: 8 kB / 0.8324 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.06245, allocations: 227.7 kB / 0.8326 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.06246, allocations: 11.94 kB / 0.8327 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.06292, allocations: 135.4 kB / 0.8328 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.06297, allocations: 31.98 kB / 0.8328 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003354/0.06331, allocations: 245.4 kB / 0.833 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004367/0.06375, allocations: 0.8412 MB / 0.8339 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004403/0.06419, allocations: 448.6 kB / 0.8343 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.06419, allocations: 0 / 0.8343 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.000596/0.06479, allocations: 0.5476 MB / 0.8348 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.06481, allocations: 37.7 kB / 0.8349 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.06481, allocations: 4 kB / 0.8349 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.06482, allocations: 8 kB / 0.8349 GB, free: 8.109 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.06534, allocations: 228 kB / 0.8351 GB, free: 7.887 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.06534, allocations: 12 kB / 0.8351 GB, free: 7.875 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.06578, allocations: 135.5 kB / 0.8352 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.06583, allocations: 31.97 kB / 0.8353 GB, free: 7.711 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.0001668/0.066, allocations: 236 kB / 0.8355 GB, free: 7.473 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.06612, allocations: 107.9 kB / 0.8356 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.06684, allocations: 0.5545 MB / 0.8361 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000404/0.06724, allocations: 400.1 kB / 0.8365 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.06725, allocations: 0 / 0.8365 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.06754, allocations: 194.8 kB / 0.8367 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.06763, allocations: 19.94 kB / 0.8367 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.06804, allocations: 83.86 kB / 0.8368 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.06814, allocations: 60.55 kB / 0.8369 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008807/0.06902, allocations: 0.5673 MB / 0.8374 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008635/0.06988, allocations: 0.8177 MB / 0.8382 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002464/0.07013, allocations: 211.2 kB / 0.8384 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003979/0.07053, allocations: 0.5246 MB / 0.8389 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of Backend: time 3.1e-07/0.07053, allocations: 0 / 0.8389 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.07215, allocations: 1.068 MB / 0.84 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of SimCode: time 0.003787/0.07594, allocations: 3.428 MB / 0.8433 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of Templates: time 0.04151/0.1174, allocations: 39.08 MB / 0.8815 GB, free: 8.852 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.778892250731587]