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.001681/0.001681, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002182/0.002182, allocations: 215.5 kB / 22.99 MB, free: 4.945 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.392/3.392, allocations: 0.4892 GB / 0.7951 GB, free: 35.45 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.002154/0.002154, allocations: 66.69 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4519, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.0184/0.4703, allocations: 6.058 MB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.485, allocations: 4.37 MB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.4861, allocations: 35.69 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004806/0.4909, allocations: 0.9134 MB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004584/0.4955, allocations: 0.7782 MB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.4971, allocations: 317.7 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.5, allocations: 1.168 MB / 1.34 GB, free: 4.195 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.5015, allocations: 0.5716 MB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.503, allocations: 0.549 MB / 1.341 GB, free: 3.062 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.5043, allocations: 458.1 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.5045, allocations: 72 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.5055, allocations: 255.5 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.5059, allocations: 255.1 kB / 1.342 GB, free: 2.043 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006435/0.5065, allocations: 338.4 kB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.5086, allocations: 1.082 MB / 1.343 GB, free: 0.625 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5086, allocations: 0 / 1.343 GB, free: 0.625 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5086, allocations: 0 / 1.343 GB, free: 0.625 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.5086, allocations: 3.984 kB / 1.343 GB, free: 0.6211 MB / 1.029 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.003654/0.5123, allocations: 1.061 MB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.5124, allocations: 8.031 kB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006394/0.5188, allocations: 0.6284 MB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.5209, allocations: 0.5163 MB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.521, allocations: 37.69 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.5211, allocations: 52.11 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/0.525, allocations: 1.166 MB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.525, allocations: 0 / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.5252, allocations: 20 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.5253, allocations: 53.22 kB / 1.347 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004932/0.5302, allocations: 1.004 MB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007454/0.5377, allocations: 2.279 MB / 1.35 GB, free: 9.598 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.5403, allocations: 480.7 kB / 1.35 GB, free: 9.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.5414, allocations: 220.6 kB / 1.35 GB, free: 8.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.5414, allocations: 3.984 kB / 1.35 GB, free: 8.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.5415, allocations: 38.56 kB / 1.35 GB, free: 8.852 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 4.188e-06/0.5415, allocations: 0 / 1.35 GB, free: 8.852 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.01423/0.5557, allocations: 2.018 MB / 1.352 GB, free: 6.809 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.5558, allocations: 59.36 kB / 1.352 GB, free: 6.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5569, allocations: 494.8 kB / 1.353 GB, free: 6.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.5569, allocations: 29.7 kB / 1.353 GB, free: 6.215 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/0.5574, allocations: 368.6 kB / 1.353 GB, free: 5.848 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.5576, allocations: 158.6 kB / 1.353 GB, free: 5.691 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.558, allocations: 94.12 kB / 1.354 GB, free: 5.594 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002978/0.5583, allocations: 366.8 kB / 1.354 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.5596, allocations: 266.7 kB / 1.354 GB, free: 4.965 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.561, allocations: 381.1 kB / 1.355 GB, free: 4.547 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.5639, allocations: 0.6421 MB / 1.355 GB, free: 3.863 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.5639, allocations: 7.938 kB / 1.355 GB, free: 3.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.005326/0.5693, allocations: 0.9708 MB / 1.356 GB, free: 2.859 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.5693, allocations: 8 kB / 1.356 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.5693, allocations: 4 kB / 1.356 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.5721, allocations: 328.8 kB / 1.356 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.5733, allocations: 111.8 kB / 1.357 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.5884, allocations: 8.514 MB / 1.365 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5895, allocations: 43.98 kB / 1.365 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.5896, allocations: 16 kB / 1.365 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001826/0.5915, allocations: 452.9 kB / 1.365 GB, free: 8.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001492/0.5929, allocations: 360.8 kB / 1.366 GB, free: 8.375 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002692/0.5956, allocations: 0.6324 MB / 1.366 GB, free: 7.699 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.17e-06/0.5956, allocations: 0 / 1.366 GB, free: 7.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.004863/0.6005, allocations: 0.9422 MB / 1.367 GB, free: 6.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.6005, allocations: 13.23 kB / 1.367 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6006, allocations: 7.938 kB / 1.367 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/0.6029, allocations: 297.3 kB / 1.368 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.604, allocations: 119.8 kB / 1.368 GB, free: 6.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.6173, allocations: 8.374 MB / 1.376 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6184, allocations: 43.95 kB / 1.376 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.6185, allocations: 16 kB / 1.376 GB, free: 13.23 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.0003415/0.6188, allocations: 216.1 kB / 1.376 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.619, allocations: 63.62 kB / 1.376 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.6193, allocations: 69.64 kB / 1.376 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.6193, allocations: 15.92 kB / 1.376 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.6194, allocations: 0 / 1.376 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6194, allocations: 0 / 1.376 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.6206, allocations: 480.9 kB / 1.377 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6206, allocations: 0 / 1.377 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.6217, allocations: 91.86 kB / 1.377 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.6238, allocations: 301 kB / 1.377 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.6238, allocations: 8 kB / 1.377 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009302/0.6331, allocations: 8.394 MB / 1.385 GB, free: 2.953 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6331, allocations: 0 / 1.385 GB, free: 2.953 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.6359, allocations: 0.9408 MB / 1.386 GB, free: 1.977 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.6363, allocations: 103.6 kB / 1.386 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.6364, allocations: 7.938 kB / 1.386 GB, free: 1.867 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/0.637, allocations: 43.94 kB / 1.386 GB, free: 1.824 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6372, allocations: 43.92 kB / 1.386 GB, free: 1.781 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.6372, allocations: 8 kB / 1.386 GB, free: 1.773 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004945/0.6377, allocations: 330.9 kB / 1.387 GB, free: 1.453 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.6377, allocations: 0 / 1.387 GB, free: 1.453 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001303/0.639, allocations: 308 kB / 1.387 GB, free: 1.152 MB / 1.076 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.000187/0.6392, allocations: 115.2 kB / 1.387 GB, free: 1.027 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004536/0.6437, allocations: 2.352 MB / 1.389 GB, free: 14.52 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6437, allocations: 0 / 1.389 GB, free: 14.52 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.6454, allocations: 0.992 MB / 1.39 GB, free: 13.45 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6464, allocations: 219.5 kB / 1.391 GB, free: 13.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.6496, allocations: 1.372 MB / 1.392 GB, free: 11.84 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.6502, allocations: 391.2 kB / 1.392 GB, free: 11.43 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.6504, allocations: 43.42 kB / 1.392 GB, free: 11.39 MB / 1.092 GB Notification: Performance of SimCode: time 7.81e-07/0.6504, allocations: 0 / 1.392 GB, free: 11.39 MB / 1.092 GB Notification: Performance of Templates: time 0.03701/0.6874, allocations: 27.01 MB / 1.419 GB, free: 420 kB / 1.107 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.478962710127234] Failed to read output from testmodel.py, exit status != 0: 0.697954679839313 0.714708219 0.20234694900000003 Calling exit ...