Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.001777/0.001777, allocations: 104.3 kB / 19.72 MB, free: 420 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.001879/0.001879, allocations: 212.9 kB / 23.02 MB, free: 2.957 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.667/1.667, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.481/3.481, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004119/0.004119, allocations: 68.08 kB / 1.177 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.892/0.8961, allocations: 180 MB / 1.353 GB, free: 1.672 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.008884/0.905, allocations: 4.934 MB / 1.358 GB, free: 12.72 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.006473/0.9115, allocations: 3.256 MB / 1.361 GB, free: 9.453 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.9118, allocations: 15.88 kB / 1.361 GB, free: 9.438 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.9136, allocations: 0.4919 MB / 1.361 GB, free: 8.945 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.9147, allocations: 398.9 kB / 1.362 GB, free: 8.555 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.9155, allocations: 271.3 kB / 1.362 GB, free: 8.289 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.9166, allocations: 0.6657 MB / 1.363 GB, free: 7.621 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005898/0.9172, allocations: 344.5 kB / 1.363 GB, free: 7.289 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004884/0.9176, allocations: 327.1 kB / 1.363 GB, free: 6.969 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.9183, allocations: 314.9 kB / 1.364 GB, free: 6.66 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-05/0.9184, allocations: 44 kB / 1.364 GB, free: 6.617 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.9191, allocations: 283.5 kB / 1.364 GB, free: 6.34 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.9194, allocations: 183.5 kB / 1.364 GB, free: 6.16 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.9197, allocations: 195.1 kB / 1.364 GB, free: 5.969 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.921, allocations: 0.841 MB / 1.365 GB, free: 5.125 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.921, allocations: 4 kB / 1.365 GB, free: 5.121 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.006e-06/0.921, allocations: 0 / 1.365 GB, free: 5.121 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.921, allocations: 0 / 1.365 GB, free: 5.121 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002133/0.9232, allocations: 0.7383 MB / 1.366 GB, free: 4.352 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.9232, allocations: 8.031 kB / 1.366 GB, free: 4.344 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.9261, allocations: 0.6831 MB / 1.367 GB, free: 3.66 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.9269, allocations: 410.2 kB / 1.367 GB, free: 3.23 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.9269, allocations: 21.03 kB / 1.367 GB, free: 3.211 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/0.927, allocations: 36.12 kB / 1.367 GB, free: 3.176 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.9289, allocations: 0.8851 MB / 1.368 GB, free: 2.254 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.9289, allocations: 4 kB / 1.368 GB, free: 2.25 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.929, allocations: 11.98 kB / 1.368 GB, free: 2.238 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.9292, allocations: 56.59 kB / 1.368 GB, free: 2.184 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.9314, allocations: 0.9311 MB / 1.369 GB, free: 1.254 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.9355, allocations: 2.101 MB / 1.371 GB, free: 15.1 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.9372, allocations: 0.5409 MB / 1.371 GB, free: 14.55 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/0.938, allocations: 292.6 kB / 1.372 GB, free: 14.26 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.9381, allocations: 15.98 kB / 1.372 GB, free: 14.24 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.9381, allocations: 34.56 kB / 1.372 GB, free: 14.2 MB / 1.057 GB Notification: Performance of pre-optimization done (n=22): time 4.468e-06/0.9381, allocations: 3.984 kB / 1.372 GB, free: 14.2 MB / 1.057 GB Notification: Performance of matching and sorting (n=32): time 0.0154/0.9535, allocations: 3.522 MB / 1.375 GB, free: 10.66 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.9536, allocations: 59.34 kB / 1.375 GB, free: 10.59 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.9542, allocations: 376.4 kB / 1.376 GB, free: 10.2 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/0.9542, allocations: 33.7 kB / 1.376 GB, free: 10.16 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.9545, allocations: 236.5 kB / 1.376 GB, free: 9.93 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.9546, allocations: 115 kB / 1.376 GB, free: 9.816 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.9548, allocations: 85.62 kB / 1.376 GB, free: 9.727 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.955, allocations: 346.8 kB / 1.376 GB, free: 9.379 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.9562, allocations: 412.5 kB / 1.377 GB, free: 8.973 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.9574, allocations: 0.5018 MB / 1.377 GB, free: 8.434 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.9597, allocations: 0.8836 MB / 1.378 GB, free: 7.523 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9597, allocations: 0 / 1.378 GB, free: 7.523 MB / 1.057 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.006639/0.9663, allocations: 1.732 MB / 1.38 GB, free: 5.773 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.9663, allocations: 4 kB / 1.38 GB, free: 5.77 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.9663, allocations: 4 kB / 1.38 GB, free: 5.766 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00472/0.9711, allocations: 0.9388 MB / 1.381 GB, free: 4.816 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.9718, allocations: 131.8 kB / 1.381 GB, free: 4.688 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.9827, allocations: 6.483 MB / 1.387 GB, free: 13.89 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009467/0.9837, allocations: 111.8 kB / 1.387 GB, free: 13.79 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/0.9838, allocations: 16 kB / 1.387 GB, free: 13.77 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001413/0.9852, allocations: 0.5934 MB / 1.388 GB, free: 13.17 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001182/0.9863, allocations: 0.4947 MB / 1.388 GB, free: 12.64 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002205/0.9886, allocations: 0.8545 MB / 1.389 GB, free: 11.76 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.9886, allocations: 0 / 1.389 GB, free: 11.76 MB / 1.073 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.00547/0.994, allocations: 1.564 MB / 1.391 GB, free: 10.18 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.994, allocations: 13.97 kB / 1.391 GB, free: 10.16 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.994, allocations: 0 / 1.391 GB, free: 10.16 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.9974, allocations: 0.7048 MB / 1.391 GB, free: 9.449 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.9981, allocations: 127.7 kB / 1.392 GB, free: 9.324 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00915/1.007, allocations: 6.094 MB / 1.397 GB, free: 2.926 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/1.008, allocations: 111.8 kB / 1.398 GB, free: 2.816 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/1.008, allocations: 15.98 kB / 1.398 GB, free: 2.801 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002452/1.008, allocations: 204.1 kB / 1.398 GB, free: 2.594 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/1.009, allocations: 35.83 kB / 1.398 GB, free: 2.559 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005668/1.014, allocations: 1.572 MB / 1.399 GB, free: 0.9688 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.014, allocations: 3.938 kB / 1.399 GB, free: 0.9648 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.014, allocations: 8 kB / 1.399 GB, free: 0.957 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.014, allocations: 3.984 kB / 1.399 GB, free: 0.9531 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/1.021, allocations: 2.104 MB / 1.401 GB, free: 14.79 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.021, allocations: 4 kB / 1.401 GB, free: 14.79 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/1.021, allocations: 83.83 kB / 1.402 GB, free: 14.71 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003902/1.025, allocations: 0.8257 MB / 1.402 GB, free: 13.87 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/1.025, allocations: 12 kB / 1.402 GB, free: 13.86 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/1.036, allocations: 6.281 MB / 1.408 GB, free: 7.266 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.036, allocations: 3.938 kB / 1.408 GB, free: 7.262 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005385/1.041, allocations: 1.562 MB / 1.41 GB, free: 5.664 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/1.041, allocations: 103.7 kB / 1.41 GB, free: 5.562 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/1.041, allocations: 8 kB / 1.41 GB, free: 5.555 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/1.042, allocations: 79.86 kB / 1.41 GB, free: 5.477 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/1.042, allocations: 47.81 kB / 1.41 GB, free: 5.43 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/1.042, allocations: 8 kB / 1.41 GB, free: 5.422 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0004698/1.043, allocations: 283 kB / 1.411 GB, free: 5.145 MB / 1.089 GB Notification: Performance of sort global known variables: time 9e-08/1.043, allocations: 0 / 1.411 GB, free: 5.145 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001089/1.044, allocations: 248 kB / 1.411 GB, free: 4.902 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002228/1.044, allocations: 109.2 kB / 1.411 GB, free: 4.789 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.005133/1.049, allocations: 2.117 MB / 1.413 GB, free: 2.594 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.049, allocations: 0 / 1.413 GB, free: 2.594 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/1.051, allocations: 0.8008 MB / 1.414 GB, free: 1.754 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/1.052, allocations: 116 kB / 1.414 GB, free: 1.645 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/1.054, allocations: 1.165 MB / 1.415 GB, free: 456 kB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/1.055, allocations: 330.8 kB / 1.415 GB, free: 100 kB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0006138/1.056, allocations: 167.1 kB / 1.415 GB, free: 15.93 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/1.056, allocations: 35.41 kB / 1.415 GB, free: 15.9 MB / 1.104 GB Notification: Performance of SimCode: time 7.32e-07/1.056, allocations: 4 kB / 1.415 GB, free: 15.89 MB / 1.104 GB Notification: Performance of Templates: time 0.03091/1.087, allocations: 16.58 MB / 1.432 GB, free: 15.44 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.767277975566685]