Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.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.001429/0.001429, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001602/0.001602, allocations: 218.2 kB / 23.01 MB, free: 4.605 MB / 14.72 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.367/3.367, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 68.25 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3964, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009827/0.4062, allocations: 6.537 MB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008475/0.4147, allocations: 4.701 MB / 1.338 GB, free: 6.238 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.4154, allocations: 39.69 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.4183, allocations: 0.9533 MB / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.4211, allocations: 0.7919 MB / 1.34 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.4221, allocations: 319.5 kB / 1.34 GB, free: 4.137 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.4241, allocations: 1.169 MB / 1.341 GB, free: 2.965 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009851/0.4251, allocations: 0.5833 MB / 1.342 GB, free: 2.371 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009604/0.4261, allocations: 0.5491 MB / 1.342 GB, free: 1.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008637/0.427, allocations: 490 kB / 1.343 GB, free: 1.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.4271, allocations: 72 kB / 1.343 GB, free: 1.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006882/0.4278, allocations: 283.5 kB / 1.343 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.4281, allocations: 255.1 kB / 1.343 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004912/0.4285, allocations: 410 kB / 1.344 GB, free: 348 kB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.4301, allocations: 1.074 MB / 1.345 GB, free: 15.26 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.4301, allocations: 4 kB / 1.345 GB, free: 15.26 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4301, allocations: 0 / 1.345 GB, free: 15.26 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.4301, allocations: 0 / 1.345 GB, free: 15.26 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00235/0.4325, allocations: 1.053 MB / 1.346 GB, free: 14.17 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4325, allocations: 12.03 kB / 1.346 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.4357, allocations: 0.6362 MB / 1.347 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.4368, allocations: 0.5085 MB / 1.347 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.4369, allocations: 49.61 kB / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.437, allocations: 56.12 kB / 1.347 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.4391, allocations: 0.9996 MB / 1.348 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4391, allocations: 4 kB / 1.348 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.4392, allocations: 23.98 kB / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-05/0.4393, allocations: 53.28 kB / 1.348 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.4417, allocations: 1.004 MB / 1.349 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005235/0.4469, allocations: 3.454 MB / 1.353 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.4486, allocations: 494.6 kB / 1.353 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.4491, allocations: 208.7 kB / 1.353 GB, free: 6.312 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.4492, allocations: 7.938 kB / 1.353 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.4492, allocations: 42.56 kB / 1.353 GB, free: 6.254 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.4492, allocations: 0 / 1.353 GB, free: 6.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.007585/0.4568, allocations: 2.018 MB / 1.355 GB, free: 4.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4569, allocations: 63.36 kB / 1.355 GB, free: 4.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008277/0.4577, allocations: 0.5666 MB / 1.356 GB, free: 3.559 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.4577, allocations: 33.7 kB / 1.356 GB, free: 3.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.4581, allocations: 360.8 kB / 1.356 GB, free: 3.164 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4582, allocations: 154.6 kB / 1.356 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.4584, allocations: 94.14 kB / 1.356 GB, free: 2.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.4586, allocations: 382.7 kB / 1.357 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/0.4593, allocations: 266.7 kB / 1.357 GB, free: 2.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.4602, allocations: 373.2 kB / 1.357 GB, free: 1.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.4617, allocations: 0.6382 MB / 1.358 GB, free: 1.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4617, allocations: 4 kB / 1.358 GB, free: 1.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002914/0.4646, allocations: 0.9863 MB / 1.359 GB, free: 168 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.4646, allocations: 12.03 kB / 1.359 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.4646, allocations: 4 kB / 1.359 GB, free: 152 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.4662, allocations: 328.7 kB / 1.359 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.4669, allocations: 119.8 kB / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009845/0.4767, allocations: 8.673 MB / 1.368 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007518/0.4775, allocations: 43.95 kB / 1.368 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.4775, allocations: 20 kB / 1.368 GB, free: 6.277 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001006/0.4785, allocations: 460.8 kB / 1.368 GB, free: 5.824 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007601/0.4793, allocations: 364.8 kB / 1.369 GB, free: 5.426 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001424/0.4807, allocations: 0.6285 MB / 1.369 GB, free: 4.754 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.458e-06/0.4807, allocations: 4 kB / 1.369 GB, free: 4.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002645/0.4833, allocations: 0.9501 MB / 1.37 GB, free: 3.773 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4834, allocations: 8 kB / 1.37 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4834, allocations: 4 kB / 1.37 GB, free: 3.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.4846, allocations: 289.1 kB / 1.371 GB, free: 3.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.4852, allocations: 115.8 kB / 1.371 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008419/0.4936, allocations: 8.547 MB / 1.379 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.4944, allocations: 43.95 kB / 1.379 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.4944, allocations: 23.92 kB / 1.379 GB, free: 10.04 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.4947, allocations: 216.1 kB / 1.379 GB, free: 9.824 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.4948, allocations: 75.52 kB / 1.379 GB, free: 9.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.495, allocations: 78.38 kB / 1.379 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.495, allocations: 4 kB / 1.379 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.495, allocations: 0 / 1.379 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.4951, allocations: 7.922 kB / 1.379 GB, free: 9.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009271/0.496, allocations: 0.629 MB / 1.38 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.496, allocations: 0 / 1.38 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.4965, allocations: 87.91 kB / 1.38 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.4977, allocations: 300.8 kB / 1.38 GB, free: 8.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.4978, allocations: 12 kB / 1.38 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008394/0.5061, allocations: 8.563 MB / 1.389 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5061, allocations: 0 / 1.389 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.5087, allocations: 0.9485 MB / 1.39 GB, free: 14.34 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.5091, allocations: 111.5 kB / 1.39 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.5091, allocations: 11.98 kB / 1.39 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.5096, allocations: 39.89 kB / 1.39 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.5098, allocations: 43.92 kB / 1.39 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.5098, allocations: 12 kB / 1.39 GB, free: 14.13 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005505/0.5104, allocations: 403.1 kB / 1.39 GB, free: 13.74 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.5104, allocations: 3.938 kB / 1.39 GB, free: 13.74 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001183/0.5116, allocations: 312 kB / 1.391 GB, free: 13.43 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.5117, allocations: 111.2 kB / 1.391 GB, free: 13.31 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004089/0.5158, allocations: 2.349 MB / 1.393 GB, free: 10.81 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5158, allocations: 4 kB / 1.393 GB, free: 10.8 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.5173, allocations: 0.992 MB / 1.394 GB, free: 9.734 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5184, allocations: 229.8 kB / 1.394 GB, free: 9.52 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.5211, allocations: 1.376 MB / 1.396 GB, free: 8.105 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.5218, allocations: 0.9781 MB / 1.397 GB, free: 7.098 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.522, allocations: 55.36 kB / 1.397 GB, free: 7.043 MB / 1.092 GB Notification: Performance of SimCode: time 7.91e-07/0.522, allocations: 0 / 1.397 GB, free: 7.043 MB / 1.092 GB Notification: Performance of Templates: time 0.03509/0.5571, allocations: 27.22 MB / 1.423 GB, free: 11.86 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 15.98089185799472] Failed to read output from testmodel.py, exit status != 0: 0.5670239869796205 0.582271899 0.148709656 Calling exit ...