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.001778/0.001778, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002308/0.002308, allocations: 220 kB / 23.04 MB, free: 4.844 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.289/3.289, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.002066/0.002066, allocations: 70.19 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4021, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009282/0.4114, allocations: 6.072 MB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007536/0.4189, allocations: 4.354 MB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004911/0.4194, allocations: 35.75 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.422, allocations: 0.9175 MB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.4241, allocations: 0.7871 MB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.4249, allocations: 319.5 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.4265, allocations: 1.168 MB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008708/0.4273, allocations: 0.5677 MB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007825/0.4281, allocations: 0.5491 MB / 1.342 GB, free: 2.203 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.4289, allocations: 458 kB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.429, allocations: 68 kB / 1.342 GB, free: 1.688 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.4295, allocations: 259.5 kB / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.4298, allocations: 263.1 kB / 1.343 GB, free: 1.176 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.4302, allocations: 330.5 kB / 1.343 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.4315, allocations: 1.09 MB / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4315, allocations: 0 / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4316, allocations: 0 / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.4316, allocations: 0 / 1.344 GB, free: 15.76 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.002092/0.4337, allocations: 1.053 MB / 1.345 GB, free: 14.67 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4337, allocations: 8.031 kB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.4369, allocations: 0.6441 MB / 1.346 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/0.4378, allocations: 0.5007 MB / 1.346 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.4379, allocations: 37.69 kB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.438, allocations: 56.12 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.4401, allocations: 1.166 MB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.4402, allocations: 3.938 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.4402, allocations: 24 kB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-05/0.4403, allocations: 49.28 kB / 1.347 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.4427, allocations: 1 MB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.4466, allocations: 2.267 MB / 1.351 GB, free: 8.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.4482, allocations: 498.8 kB / 1.351 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.4487, allocations: 208.7 kB / 1.351 GB, free: 8.047 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.4488, allocations: 4 kB / 1.351 GB, free: 8.043 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.4488, allocations: 38.56 kB / 1.351 GB, free: 7.996 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.4488, allocations: 0 / 1.351 GB, free: 7.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.007652/0.4565, allocations: 2.018 MB / 1.353 GB, free: 5.953 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.4565, allocations: 59.36 kB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.4572, allocations: 482.8 kB / 1.354 GB, free: 5.406 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.4572, allocations: 45.69 kB / 1.354 GB, free: 5.355 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.4575, allocations: 364.6 kB / 1.354 GB, free: 4.992 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.4577, allocations: 162.6 kB / 1.354 GB, free: 4.832 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.4579, allocations: 90.14 kB / 1.354 GB, free: 4.738 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002278/0.4581, allocations: 366.8 kB / 1.355 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.4588, allocations: 270.7 kB / 1.355 GB, free: 4.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.4596, allocations: 373 kB / 1.355 GB, free: 3.695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.4611, allocations: 0.6499 MB / 1.356 GB, free: 3.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.4611, allocations: 3.938 kB / 1.356 GB, free: 3 MB / 1.045 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002702/0.4639, allocations: 0.9782 MB / 1.357 GB, free: 1.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4639, allocations: 8 kB / 1.357 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4639, allocations: 3.938 kB / 1.357 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.4653, allocations: 325.2 kB / 1.357 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.4659, allocations: 131.8 kB / 1.357 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008852/0.4748, allocations: 8.488 MB / 1.366 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.4754, allocations: 48.06 kB / 1.366 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.4754, allocations: 20 kB / 1.366 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009821/0.4764, allocations: 438.9 kB / 1.366 GB, free: 7.926 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007688/0.4772, allocations: 368.8 kB / 1.367 GB, free: 7.523 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001435/0.4786, allocations: 0.6364 MB / 1.367 GB, free: 6.844 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.4786, allocations: 3.938 kB / 1.367 GB, free: 6.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002563/0.4812, allocations: 0.9464 MB / 1.368 GB, free: 5.867 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4812, allocations: 4 kB / 1.368 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4812, allocations: 4 kB / 1.368 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.4823, allocations: 296.9 kB / 1.368 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.4829, allocations: 111.8 kB / 1.368 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007917/0.4908, allocations: 8.382 MB / 1.377 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.4914, allocations: 52.06 kB / 1.377 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.4915, allocations: 20 kB / 1.377 GB, free: 12.37 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.0002392/0.4917, allocations: 209.8 kB / 1.377 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4918, allocations: 59.62 kB / 1.377 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.492, allocations: 77.62 kB / 1.377 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.492, allocations: 8 kB / 1.377 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.492, allocations: 0 / 1.377 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.492, allocations: 7.984 kB / 1.377 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.4928, allocations: 480.9 kB / 1.378 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4928, allocations: 0 / 1.378 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.4933, allocations: 83.86 kB / 1.378 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.4944, allocations: 296.8 kB / 1.378 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.4945, allocations: 11.98 kB / 1.378 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007926/0.5024, allocations: 8.406 MB / 1.386 GB, free: 2.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5024, allocations: 0 / 1.386 GB, free: 2.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.5048, allocations: 0.9368 MB / 1.387 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.5051, allocations: 103.6 kB / 1.387 GB, free: 1.016 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.5052, allocations: 7.938 kB / 1.387 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.5056, allocations: 47.94 kB / 1.387 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.5057, allocations: 35.92 kB / 1.387 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.5058, allocations: 12 kB / 1.387 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004186/0.5062, allocations: 334.9 kB / 1.388 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5062, allocations: 3.938 kB / 1.388 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001151/0.5073, allocations: 308 kB / 1.388 GB, free: 292 kB / 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.000166/0.5075, allocations: 107.2 kB / 1.388 GB, free: 172 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004061/0.5116, allocations: 2.353 MB / 1.39 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5116, allocations: 0 / 1.39 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.5131, allocations: 0.9959 MB / 1.391 GB, free: 12.59 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009235/0.514, allocations: 200.4 kB / 1.391 GB, free: 12.4 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.5168, allocations: 1.383 MB / 1.393 GB, free: 10.98 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.5173, allocations: 383.2 kB / 1.393 GB, free: 10.58 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.5175, allocations: 51.42 kB / 1.393 GB, free: 10.53 MB / 1.092 GB Notification: Performance of SimCode: time 7.81e-07/0.5175, allocations: 3.938 kB / 1.393 GB, free: 10.53 MB / 1.092 GB Notification: Performance of Templates: time 0.03289/0.5504, allocations: 27 MB / 1.42 GB, free: 15.55 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.324416439980268] Failed to read output from testmodel.py, exit status != 0: 0.5593847169075161 0.573636916 0.138918385 Calling exit ...