Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001676/0.001676, 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.00185/0.00185, allocations: 212.9 kB / 22.99 MB, free: 4.941 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.833/2.833, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002157/0.002157, allocations: 75.48 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3636, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009512/0.3731, allocations: 6.077 MB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007801/0.3809, allocations: 4.362 MB / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005865/0.3815, allocations: 35.75 kB / 1.294 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.3842, allocations: 0.8996 MB / 1.295 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.3866, allocations: 0.7976 MB / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.3874, allocations: 323.1 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.389, allocations: 1.148 MB / 1.297 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008846/0.3899, allocations: 0.5716 MB / 1.298 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007823/0.3907, allocations: 0.5491 MB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007163/0.3914, allocations: 450.1 kB / 1.299 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3915, allocations: 72 kB / 1.299 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005539/0.3921, allocations: 259.5 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.3924, allocations: 263 kB / 1.299 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.3927, allocations: 338.4 kB / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.3941, allocations: 1.082 MB / 1.301 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3941, allocations: 4 kB / 1.301 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3941, allocations: 0 / 1.301 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.3941, allocations: 0 / 1.301 GB, free: 10.68 MB / 0.9981 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.002096/0.3962, allocations: 1.055 MB / 1.302 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3962, allocations: 8.031 kB / 1.302 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/0.3994, allocations: 0.6324 MB / 1.302 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.4005, allocations: 0.5123 MB / 1.303 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.4005, allocations: 37.69 kB / 1.303 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.4006, allocations: 56.11 kB / 1.303 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.4028, allocations: 1.158 MB / 1.304 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4028, allocations: 0 / 1.304 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.4029, allocations: 24 kB / 1.304 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-05/0.403, allocations: 49.28 kB / 1.304 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.4054, allocations: 1.008 MB / 1.305 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.4094, allocations: 2.287 MB / 1.307 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.411, allocations: 492.3 kB / 1.308 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.4116, allocations: 212.6 kB / 1.308 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.4116, allocations: 4 kB / 1.308 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.4117, allocations: 34.56 kB / 1.308 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.4117, allocations: 0 / 1.308 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.00746/0.4191, allocations: 2.011 MB / 1.31 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4192, allocations: 59.41 kB / 1.31 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.4198, allocations: 494.7 kB / 1.31 GB, free: 324 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.4199, allocations: 29.7 kB / 1.31 GB, free: 288 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.4202, allocations: 368.8 kB / 1.311 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.4204, allocations: 162.6 kB / 1.311 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.4206, allocations: 94.14 kB / 1.311 GB, free: 15.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.4208, allocations: 362.8 kB / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.4215, allocations: 270.6 kB / 1.312 GB, free: 15.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/0.4223, allocations: 369.2 kB / 1.312 GB, free: 14.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.4239, allocations: 0.6421 MB / 1.313 GB, free: 13.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.4239, allocations: 7.75 kB / 1.313 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002806/0.4267, allocations: 0.9782 MB / 1.314 GB, free: 12.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4267, allocations: 8 kB / 1.314 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4267, allocations: 4 kB / 1.314 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.4282, allocations: 329.1 kB / 1.314 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.4288, allocations: 115.8 kB / 1.314 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009145/0.438, allocations: 8.502 MB / 1.322 GB, free: 3.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.4387, allocations: 40.09 kB / 1.322 GB, free: 3.312 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.4387, allocations: 23.94 kB / 1.322 GB, free: 3.289 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001058/0.4398, allocations: 450 kB / 1.323 GB, free: 2.848 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007871/0.4406, allocations: 372.7 kB / 1.323 GB, free: 2.438 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001474/0.442, allocations: 0.6286 MB / 1.324 GB, free: 1.766 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.442, allocations: 4 kB / 1.324 GB, free: 1.762 MB / 1.014 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002636/0.4447, allocations: 0.9422 MB / 1.325 GB, free: 0.793 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4447, allocations: 10.38 kB / 1.325 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4447, allocations: 8 kB / 1.325 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.4459, allocations: 284.9 kB / 1.325 GB, free: 492 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.4465, allocations: 127.7 kB / 1.325 GB, free: 364 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008278/0.4548, allocations: 8.368 MB / 1.333 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.4554, allocations: 43.98 kB / 1.333 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.4555, allocations: 24.3 kB / 1.333 GB, free: 7.305 MB / 1.029 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.0002765/0.4558, allocations: 212.9 kB / 1.334 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.4559, allocations: 63.61 kB / 1.334 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.4561, allocations: 77.62 kB / 1.334 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4561, allocations: 4 kB / 1.334 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4561, allocations: 3.938 kB / 1.334 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4561, allocations: 4 kB / 1.334 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.4569, allocations: 496.6 kB / 1.334 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4569, allocations: 4 kB / 1.334 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.4574, allocations: 83.91 kB / 1.334 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.4585, allocations: 292.8 kB / 1.335 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.4586, allocations: 12 kB / 1.335 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008308/0.4669, allocations: 8.399 MB / 1.343 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4669, allocations: 3.938 kB / 1.343 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.4695, allocations: 0.9292 MB / 1.344 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.4698, allocations: 107.6 kB / 1.344 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.4699, allocations: 11.94 kB / 1.344 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.4704, allocations: 35.95 kB / 1.344 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.4705, allocations: 47.81 kB / 1.344 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.4706, allocations: 16 kB / 1.344 GB, free: 11.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004574/0.471, allocations: 334.8 kB / 1.344 GB, free: 11.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.471, allocations: 4 kB / 1.344 GB, free: 11.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001165/0.4722, allocations: 308 kB / 1.344 GB, free: 11.2 MB / 1.045 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.0001688/0.4724, allocations: 103.2 kB / 1.345 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00422/0.4766, allocations: 2.349 MB / 1.347 GB, free: 8.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4766, allocations: 3.938 kB / 1.347 GB, free: 8.578 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.4781, allocations: 0.9959 MB / 1.348 GB, free: 7.504 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.4791, allocations: 199.9 kB / 1.348 GB, free: 7.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.4818, allocations: 1.377 MB / 1.349 GB, free: 5.902 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.4823, allocations: 395.1 kB / 1.35 GB, free: 5.492 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.4825, allocations: 43.42 kB / 1.35 GB, free: 5.449 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.4825, allocations: 0 / 1.35 GB, free: 5.449 MB / 1.045 GB Notification: Performance of Templates: time 0.03338/0.5159, allocations: 27.02 MB / 1.376 GB, free: 10.46 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 15.40400940272957] Failed to read output from testmodel.py, exit status != 0: 1.1283287541009486 0.5396092969999999 0.14227720399999993 Calling exit ...