Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.00183/0.00183, allocations: 104.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.002057/0.002057, allocations: 212 kB / 23.02 MB, free: 2.953 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.666/1.666, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.385/3.385, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 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.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003719/0.003719, allocations: 71.88 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8564, allocations: 180 MB / 1.353 GB, free: 1.59 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00555/0.862, allocations: 2.885 MB / 1.356 GB, free: 14.7 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003658/0.8656, allocations: 1.757 MB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.8658, allocations: 7.938 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009853/0.8668, allocations: 232.2 kB / 1.358 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006404/0.8674, allocations: 203.1 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.8681, allocations: 231.4 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0008145/0.8689, allocations: 327 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.8693, allocations: 150.2 kB / 1.359 GB, free: 11.8 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.8697, allocations: 135.6 kB / 1.359 GB, free: 11.67 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.87, allocations: 155.4 kB / 1.359 GB, free: 11.52 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.8701, allocations: 20 kB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005952/0.8707, allocations: 255.5 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.8708, allocations: 91.78 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.871, allocations: 99.47 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007139/0.8717, allocations: 453.2 kB / 1.36 GB, free: 10.62 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8717, allocations: 0 / 1.36 GB, free: 10.62 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8717, allocations: 0 / 1.36 GB, free: 10.62 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.8717, allocations: 0 / 1.36 GB, free: 10.62 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001041/0.8727, allocations: 497.1 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8728, allocations: 12.86 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.8737, allocations: 116.6 kB / 1.36 GB, free: 9.973 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.8741, allocations: 198.2 kB / 1.36 GB, free: 9.754 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.8741, allocations: 16.75 kB / 1.36 GB, free: 9.738 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.8742, allocations: 20.36 kB / 1.36 GB, free: 9.719 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008612/0.8751, allocations: 424.2 kB / 1.361 GB, free: 9.262 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.8751, allocations: 4 kB / 1.361 GB, free: 9.258 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.8751, allocations: 11.98 kB / 1.361 GB, free: 9.246 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.8752, allocations: 24.31 kB / 1.361 GB, free: 9.219 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.876, allocations: 340.6 kB / 1.361 GB, free: 8.887 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.8782, allocations: 1.401 MB / 1.363 GB, free: 7.426 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/0.879, allocations: 309.1 kB / 1.363 GB, free: 7.105 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.8793, allocations: 137.6 kB / 1.363 GB, free: 6.965 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.8794, allocations: 19.98 kB / 1.363 GB, free: 6.945 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.8795, allocations: 30.56 kB / 1.363 GB, free: 6.906 MB / 1.042 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.8795, allocations: 0 / 1.363 GB, free: 6.906 MB / 1.042 GB Notification: Performance of matching and sorting (n=21): time 0.001514/0.881, allocations: 0.5308 MB / 1.364 GB, free: 6.367 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.8811, allocations: 81.11 kB / 1.364 GB, free: 6.27 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.8814, allocations: 212.2 kB / 1.364 GB, free: 6.051 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.8814, allocations: 29.7 kB / 1.364 GB, free: 6.016 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.8815, allocations: 164.2 kB / 1.364 GB, free: 5.852 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.8816, allocations: 83.28 kB / 1.364 GB, free: 5.77 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.8818, allocations: 57.97 kB / 1.364 GB, free: 5.707 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.882, allocations: 326.8 kB / 1.365 GB, free: 5.379 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.8823, allocations: 149.9 kB / 1.365 GB, free: 5.23 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.8827, allocations: 219.3 kB / 1.365 GB, free: 4.98 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.8838, allocations: 400.2 kB / 1.365 GB, free: 4.555 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8838, allocations: 0 / 1.365 GB, free: 4.555 MB / 1.042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001045/0.8848, allocations: 450 kB / 1.366 GB, free: 4.105 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.8848, allocations: 4 kB / 1.366 GB, free: 4.102 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.8848, allocations: 4 kB / 1.366 GB, free: 4.098 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.8851, allocations: 40.77 kB / 1.366 GB, free: 4.055 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.8856, allocations: 79.86 kB / 1.366 GB, free: 3.977 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.8879, allocations: 1.481 MB / 1.367 GB, free: 2.387 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.8884, allocations: 43.84 kB / 1.367 GB, free: 2.344 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.8884, allocations: 19.88 kB / 1.367 GB, free: 2.324 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006098/0.8891, allocations: 242.8 kB / 1.368 GB, free: 2.086 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005861/0.8896, allocations: 227 kB / 1.368 GB, free: 1.828 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006952/0.8903, allocations: 355.9 kB / 1.368 GB, free: 1.445 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.8903, allocations: 0 / 1.368 GB, free: 1.445 MB / 1.042 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.001008/0.8913, allocations: 432.2 kB / 1.369 GB, free: 1.016 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8914, allocations: 8 kB / 1.369 GB, free: 1.008 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8914, allocations: 4 kB / 1.369 GB, free: 1.004 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.8916, allocations: 44.81 kB / 1.369 GB, free: 0.957 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.892, allocations: 71.88 kB / 1.369 GB, free: 0.8867 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.8937, allocations: 1.489 MB / 1.37 GB, free: 15.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.8941, allocations: 43.78 kB / 1.37 GB, free: 15.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.8941, allocations: 12 kB / 1.37 GB, free: 15.24 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.8943, allocations: 196.1 kB / 1.37 GB, free: 15.04 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.8944, allocations: 23.97 kB / 1.37 GB, free: 15.02 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008325/0.8952, allocations: 357.6 kB / 1.371 GB, free: 14.66 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8952, allocations: 4 kB / 1.371 GB, free: 14.65 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.8952, allocations: 0 / 1.371 GB, free: 14.65 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.8952, allocations: 3.984 kB / 1.371 GB, free: 14.65 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.8969, allocations: 0.8581 MB / 1.372 GB, free: 13.73 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8969, allocations: 4 kB / 1.372 GB, free: 13.73 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.8971, allocations: 55.89 kB / 1.372 GB, free: 13.67 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.8973, allocations: 32.83 kB / 1.372 GB, free: 13.64 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.8973, allocations: 11.94 kB / 1.372 GB, free: 13.62 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.899, allocations: 1.383 MB / 1.373 GB, free: 12.14 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.8991, allocations: 4.031 kB / 1.373 GB, free: 12.13 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.8999, allocations: 0.5393 MB / 1.374 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.9001, allocations: 43.81 kB / 1.374 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.9001, allocations: 15.95 kB / 1.374 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.9004, allocations: 24.03 kB / 1.374 GB, free: 11.47 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.9005, allocations: 27.84 kB / 1.374 GB, free: 11.45 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.9005, allocations: 12 kB / 1.374 GB, free: 11.43 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002243/0.9007, allocations: 156.1 kB / 1.374 GB, free: 11.28 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9007, allocations: 7.938 kB / 1.374 GB, free: 11.27 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0007063/0.9014, allocations: 108 kB / 1.374 GB, free: 11.17 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.9016, allocations: 107.2 kB / 1.374 GB, free: 11.05 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.9033, allocations: 0.7569 MB / 1.375 GB, free: 10.28 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9033, allocations: 0 / 1.375 GB, free: 10.28 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.9038, allocations: 254.5 kB / 1.375 GB, free: 10.02 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.9043, allocations: 40.98 kB / 1.375 GB, free: 9.977 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.9055, allocations: 0.5602 MB / 1.376 GB, free: 9.371 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.9057, allocations: 157.5 kB / 1.376 GB, free: 9.199 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002931/0.9059, allocations: 97.86 kB / 1.376 GB, free: 9.105 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.906, allocations: 23.42 kB / 1.376 GB, free: 9.082 MB / 1.057 GB Notification: Performance of SimCode: time 8.82e-07/0.906, allocations: 0 / 1.376 GB, free: 9.082 MB / 1.057 GB Notification: Performance of Templates: time 0.009864/0.9159, allocations: 3.852 MB / 1.38 GB, free: 5.273 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.345501760952175]