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.001388/0.001388, 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.001553/0.001553, allocations: 216.1 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.308/3.308, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 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.002104/0.002104, allocations: 68.47 kB / 1.187 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4049, allocations: 181.9 MB / 1.365 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009048/0.414, allocations: 6.067 MB / 1.371 GB, free: 7.633 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007555/0.4215, allocations: 4.362 MB / 1.375 GB, free: 3.258 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.4222, allocations: 31.75 kB / 1.375 GB, free: 3.227 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.4249, allocations: 0.9183 MB / 1.376 GB, free: 2.305 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.4273, allocations: 0.7914 MB / 1.376 GB, free: 1.512 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.4282, allocations: 325.2 kB / 1.377 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.4299, allocations: 1.152 MB / 1.378 GB, free: 40 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008734/0.4308, allocations: 0.5716 MB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008269/0.4316, allocations: 0.5452 MB / 1.379 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007242/0.4323, allocations: 458.1 kB / 1.379 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.4324, allocations: 68 kB / 1.38 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005741/0.433, allocations: 255.5 kB / 1.38 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.4333, allocations: 259.1 kB / 1.38 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.4336, allocations: 334.4 kB / 1.38 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.4349, allocations: 1.086 MB / 1.381 GB, free: 12.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4349, allocations: 4 kB / 1.381 GB, free: 12.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4349, allocations: 4 kB / 1.381 GB, free: 12.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.435, allocations: 0 / 1.381 GB, free: 12.46 MB / 1.076 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.002058/0.437, allocations: 1.049 MB / 1.382 GB, free: 11.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4371, allocations: 12.03 kB / 1.382 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/0.4403, allocations: 0.6402 MB / 1.383 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4414, allocations: 0.5046 MB / 1.384 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.4415, allocations: 49.59 kB / 1.384 GB, free: 10.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.4416, allocations: 52.12 kB / 1.384 GB, free: 10.1 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.4438, allocations: 1.158 MB / 1.385 GB, free: 8.871 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4438, allocations: 0 / 1.385 GB, free: 8.871 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.4438, allocations: 27.98 kB / 1.385 GB, free: 8.844 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.4439, allocations: 53.28 kB / 1.385 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.4463, allocations: 0.9964 MB / 1.386 GB, free: 7.797 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.4504, allocations: 2.275 MB / 1.388 GB, free: 5.457 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.452, allocations: 486.3 kB / 1.388 GB, free: 4.973 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.4525, allocations: 212.7 kB / 1.389 GB, free: 4.762 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.4526, allocations: 4 kB / 1.389 GB, free: 4.758 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.4526, allocations: 38.56 kB / 1.389 GB, free: 4.711 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.4526, allocations: 0 / 1.389 GB, free: 4.711 MB / 1.076 GB Notification: Performance of matching and sorting (n=43): time 0.007586/0.4602, allocations: 2.009 MB / 1.391 GB, free: 2.676 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.4603, allocations: 59.36 kB / 1.391 GB, free: 2.605 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/0.4609, allocations: 490.8 kB / 1.391 GB, free: 2.121 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.461, allocations: 33.7 kB / 1.391 GB, free: 2.082 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.4613, allocations: 372.5 kB / 1.392 GB, free: 1.711 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.4614, allocations: 158.6 kB / 1.392 GB, free: 1.555 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.4616, allocations: 90.14 kB / 1.392 GB, free: 1.461 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4618, allocations: 370.8 kB / 1.392 GB, free: 1.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.4625, allocations: 270.6 kB / 1.392 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/0.4633, allocations: 377.2 kB / 1.393 GB, free: 420 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.4648, allocations: 0.6422 MB / 1.393 GB, free: 15.72 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4648, allocations: 3.938 kB / 1.393 GB, free: 15.72 MB / 1.092 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002862/0.4677, allocations: 0.9785 MB / 1.394 GB, free: 14.71 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4677, allocations: 8 kB / 1.394 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4677, allocations: 4 kB / 1.394 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.4692, allocations: 329 kB / 1.395 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.4699, allocations: 119.8 kB / 1.395 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008636/0.4785, allocations: 8.497 MB / 1.403 GB, free: 5.141 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.4792, allocations: 47.94 kB / 1.403 GB, free: 5.094 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.4793, allocations: 16 kB / 1.403 GB, free: 5.078 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001011/0.4803, allocations: 449 kB / 1.404 GB, free: 4.637 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007712/0.481, allocations: 368.7 kB / 1.404 GB, free: 4.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001472/0.4825, allocations: 0.6325 MB / 1.405 GB, free: 3.555 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.4825, allocations: 0 / 1.405 GB, free: 3.555 MB / 1.092 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002642/0.4852, allocations: 0.9459 MB / 1.406 GB, free: 2.582 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4852, allocations: 7.938 kB / 1.406 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4852, allocations: 4 kB / 1.406 GB, free: 2.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.4864, allocations: 297.2 kB / 1.406 GB, free: 2.262 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.487, allocations: 111.8 kB / 1.406 GB, free: 2.152 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/0.4948, allocations: 8.387 MB / 1.414 GB, free: 9.152 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/0.4956, allocations: 43.94 kB / 1.414 GB, free: 9.109 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.4956, allocations: 16 kB / 1.414 GB, free: 9.094 MB / 1.107 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.0002729/0.4959, allocations: 213.9 kB / 1.414 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.496, allocations: 63.62 kB / 1.414 GB, free: 8.816 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.4962, allocations: 73.62 kB / 1.415 GB, free: 8.746 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4962, allocations: 4 kB / 1.415 GB, free: 8.742 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.4962, allocations: 4 kB / 1.415 GB, free: 8.738 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4962, allocations: 3.984 kB / 1.415 GB, free: 8.734 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.497, allocations: 480.8 kB / 1.415 GB, free: 8.234 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.497, allocations: 7.984 kB / 1.415 GB, free: 8.227 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.4975, allocations: 87.86 kB / 1.415 GB, free: 8.141 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.4987, allocations: 296.8 kB / 1.415 GB, free: 7.832 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.4988, allocations: 7.984 kB / 1.415 GB, free: 7.824 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007929/0.5067, allocations: 8.406 MB / 1.424 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5067, allocations: 4.062 kB / 1.424 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.5093, allocations: 0.933 MB / 1.424 GB, free: 13.83 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.5097, allocations: 103.6 kB / 1.425 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.5097, allocations: 7.938 kB / 1.425 GB, free: 13.72 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.5103, allocations: 43.94 kB / 1.425 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.5104, allocations: 39.88 kB / 1.425 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.5105, allocations: 11.98 kB / 1.425 GB, free: 13.63 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004377/0.5109, allocations: 338.8 kB / 1.425 GB, free: 13.3 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5109, allocations: 4 kB / 1.425 GB, free: 13.3 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001166/0.5121, allocations: 308 kB / 1.425 GB, free: 13 MB / 1.123 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.0001674/0.5122, allocations: 107.2 kB / 1.425 GB, free: 12.88 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004178/0.5164, allocations: 2.344 MB / 1.428 GB, free: 10.38 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5164, allocations: 0 / 1.428 GB, free: 10.38 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.5179, allocations: 0.9958 MB / 1.429 GB, free: 9.305 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.5189, allocations: 209 kB / 1.429 GB, free: 9.117 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.5216, allocations: 1.376 MB / 1.43 GB, free: 7.707 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.5221, allocations: 391.2 kB / 1.431 GB, free: 7.301 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.5223, allocations: 43.42 kB / 1.431 GB, free: 7.258 MB / 1.123 GB Notification: Performance of SimCode: time 1.192e-06/0.5223, allocations: 4 kB / 1.431 GB, free: 7.254 MB / 1.123 GB Notification: Performance of Templates: time 0.0332/0.5555, allocations: 27.02 MB / 1.457 GB, free: 12.26 MB / 1.154 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: 15.3529272088781] Failed to read output from testmodel.py, exit status != 0: 0.56445864867419 0.5792455839999999 0.14106057299999994 Calling exit ...