Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001865/0.001865, 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.00248/0.00248, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.208/3.208, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.0022/0.0022, allocations: 76.45 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.354, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00942/0.3634, allocations: 6.536 MB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007537/0.3709, allocations: 4.712 MB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005965/0.3715, allocations: 39.69 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.3742, allocations: 0.9555 MB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.3765, allocations: 0.7956 MB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008176/0.3773, allocations: 327.5 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.379, allocations: 1.152 MB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009621/0.3799, allocations: 0.5833 MB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000818/0.3808, allocations: 0.5413 MB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007585/0.3815, allocations: 498 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.3816, allocations: 68 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005619/0.3822, allocations: 283.5 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.3825, allocations: 259.1 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004844/0.383, allocations: 406 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.3845, allocations: 1.078 MB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3845, allocations: 0 / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3845, allocations: 0 / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.3845, allocations: 0 / 1.372 GB, free: 5.68 MB / 1.061 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.002135/0.3867, allocations: 1.061 MB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3867, allocations: 8.031 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.3899, allocations: 0.6362 MB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3909, allocations: 0.5124 MB / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.391, allocations: 41.67 kB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/0.3911, allocations: 52.12 kB / 1.374 GB, free: 3.309 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.3932, allocations: 1.004 MB / 1.375 GB, free: 2.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3932, allocations: 3.984 kB / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.3933, allocations: 27.97 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/0.3934, allocations: 45.3 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.3959, allocations: 1.012 MB / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/0.4008, allocations: 3.451 MB / 1.379 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.4024, allocations: 487.6 kB / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.403, allocations: 216.7 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.403, allocations: 0 / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.403, allocations: 42.5 kB / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.403, allocations: 0 / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=43): time 0.007577/0.4106, allocations: 2.017 MB / 1.382 GB, free: 10.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.4107, allocations: 59.36 kB / 1.382 GB, free: 10.56 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.4114, allocations: 0.5705 MB / 1.383 GB, free: 9.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.4115, allocations: 33.7 kB / 1.383 GB, free: 9.941 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.4117, allocations: 364.8 kB / 1.383 GB, free: 9.582 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.4119, allocations: 154.7 kB / 1.383 GB, free: 9.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.4121, allocations: 90.14 kB / 1.383 GB, free: 9.336 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4123, allocations: 382.7 kB / 1.384 GB, free: 8.953 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.413, allocations: 274.6 kB / 1.384 GB, free: 8.684 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007687/0.4137, allocations: 373.2 kB / 1.384 GB, free: 8.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.4152, allocations: 0.6382 MB / 1.385 GB, free: 7.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4152, allocations: 0 / 1.385 GB, free: 7.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002905/0.4181, allocations: 0.9899 MB / 1.386 GB, free: 6.574 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4182, allocations: 4 kB / 1.386 GB, free: 6.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4182, allocations: 4 kB / 1.386 GB, free: 6.566 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.4198, allocations: 337.1 kB / 1.386 GB, free: 6.219 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.4204, allocations: 111.8 kB / 1.386 GB, free: 6.109 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009147/0.4296, allocations: 8.665 MB / 1.395 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.4302, allocations: 51.98 kB / 1.395 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.4303, allocations: 20 kB / 1.395 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009644/0.4313, allocations: 452.8 kB / 1.395 GB, free: 12.25 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007517/0.4321, allocations: 368.8 kB / 1.396 GB, free: 11.85 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0015/0.4336, allocations: 0.6286 MB / 1.396 GB, free: 11.18 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.053e-06/0.4336, allocations: 0 / 1.396 GB, free: 11.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002708/0.4363, allocations: 0.9539 MB / 1.397 GB, free: 10.2 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4363, allocations: 4 kB / 1.397 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4363, allocations: 7.938 kB / 1.397 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.4375, allocations: 289.2 kB / 1.398 GB, free: 9.887 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.4381, allocations: 123.8 kB / 1.398 GB, free: 9.766 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008514/0.4466, allocations: 8.54 MB / 1.406 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.4473, allocations: 47.94 kB / 1.406 GB, free: 500 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.4474, allocations: 19.94 kB / 1.406 GB, free: 480 kB / 1.092 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.0002726/0.4477, allocations: 220.1 kB / 1.406 GB, free: 252 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4478, allocations: 71.58 kB / 1.406 GB, free: 180 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.448, allocations: 78.38 kB / 1.406 GB, free: 96 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.448, allocations: 4 kB / 1.406 GB, free: 92 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.448, allocations: 4 kB / 1.406 GB, free: 88 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.448, allocations: 7.922 kB / 1.406 GB, free: 80 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.449, allocations: 0.6288 MB / 1.407 GB, free: 15.41 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.449, allocations: 0 / 1.407 GB, free: 15.41 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.4495, allocations: 91.84 kB / 1.407 GB, free: 15.32 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.4508, allocations: 296.8 kB / 1.407 GB, free: 15.01 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.4508, allocations: 8 kB / 1.407 GB, free: 15 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008426/0.4593, allocations: 8.574 MB / 1.416 GB, free: 5.742 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4593, allocations: 0 / 1.416 GB, free: 5.742 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.4619, allocations: 0.9524 MB / 1.417 GB, free: 4.754 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.4622, allocations: 107.5 kB / 1.417 GB, free: 4.648 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/0.4623, allocations: 16 kB / 1.417 GB, free: 4.633 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.4628, allocations: 39.89 kB / 1.417 GB, free: 4.594 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.4629, allocations: 39.92 kB / 1.417 GB, free: 4.555 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.4629, allocations: 12 kB / 1.417 GB, free: 4.543 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0005193/0.4634, allocations: 407.1 kB / 1.417 GB, free: 4.152 MB / 1.108 GB Notification: Performance of sort global known variables: time 9e-08/0.4634, allocations: 4 kB / 1.417 GB, free: 4.148 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.001097/0.4645, allocations: 308 kB / 1.418 GB, free: 3.848 MB / 1.108 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.0001673/0.4647, allocations: 103.2 kB / 1.418 GB, free: 3.734 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.00416/0.4689, allocations: 2.36 MB / 1.42 GB, free: 1.219 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4689, allocations: 0 / 1.42 GB, free: 1.219 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.4704, allocations: 0.9959 MB / 1.421 GB, free: 148 kB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4715, allocations: 219.7 kB / 1.421 GB, free: 15.93 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.4741, allocations: 1.383 MB / 1.423 GB, free: 14.51 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/0.4749, allocations: 0.982 MB / 1.424 GB, free: 13.5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.4751, allocations: 51.42 kB / 1.424 GB, free: 13.45 MB / 1.123 GB Notification: Performance of SimCode: time 5.21e-07/0.4751, allocations: 0 / 1.424 GB, free: 13.45 MB / 1.123 GB Notification: Performance of Templates: time 0.03507/0.5101, allocations: 27.21 MB / 1.45 GB, free: 2.281 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 14.876603651006008] Failed to read output from testmodel.py, exit status != 0: 0.5193804469890893 0.534969175 0.14691768600000002 Calling exit ...