Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001971/0.001971, allocations: 104.2 kB / 19.71 MB, free: 2.141 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.002292/0.002292, allocations: 215.7 kB / 23 MB, free: 4.961 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.274/3.274, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [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.001967/0.001967, allocations: 69.52 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4087, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04525/0.454, allocations: 33.77 MB / 1.36 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02193/0.4759, allocations: 11.55 MB / 1.371 GB, free: 3.594 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004353/0.4803, allocations: 210.4 kB / 1.372 GB, free: 3.387 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.4927, allocations: 4.261 MB / 1.376 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008262/0.501, allocations: 2.088 MB / 1.378 GB, free: 13.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007562/0.5085, allocations: 2.416 MB / 1.38 GB, free: 10.61 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.5215, allocations: 8.465 MB / 1.388 GB, free: 2.113 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.5336, allocations: 6.216 MB / 1.394 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007653/0.5412, allocations: 3.872 MB / 1.398 GB, free: 7.891 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008273/0.5495, allocations: 4.424 MB / 1.403 GB, free: 3.453 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002578/0.5521, allocations: 0.7812 MB / 1.403 GB, free: 2.672 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005755/0.5578, allocations: 1.907 MB / 1.405 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005661/0.5635, allocations: 3.145 MB / 1.408 GB, free: 13.61 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008287/0.5718, allocations: 2.751 MB / 1.411 GB, free: 10.85 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01987/0.5917, allocations: 12.07 MB / 1.423 GB, free: 14.74 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.5917, allocations: 0 / 1.423 GB, free: 14.74 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.356e-06/0.5917, allocations: 0 / 1.423 GB, free: 14.74 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0005017/0.5922, allocations: 0 / 1.423 GB, free: 14.74 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02004/0.6122, allocations: 5.859 MB / 1.428 GB, free: 8.82 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.6123, allocations: 23.89 kB / 1.428 GB, free: 8.797 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007888/0.6202, allocations: 1.082 MB / 1.43 GB, free: 7.711 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.6307, allocations: 3.419 MB / 1.433 GB, free: 4.223 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005872/0.6313, allocations: 415.5 kB / 1.433 GB, free: 3.816 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00258/0.6339, allocations: 0.5354 MB / 1.434 GB, free: 3.281 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02543/0.6593, allocations: 9.384 MB / 1.443 GB, free: 9.504 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000354/0.6596, allocations: 31.77 kB / 1.443 GB, free: 9.473 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/0.6618, allocations: 236 kB / 1.443 GB, free: 9.242 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005505/0.6624, allocations: 350.8 kB / 1.444 GB, free: 8.898 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.6798, allocations: 6.822 MB / 1.45 GB, free: 2.066 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04836/0.7282, allocations: 24.26 MB / 1.474 GB, free: 9.203 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.7323, allocations: 2.295 MB / 1.476 GB, free: 6.91 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/0.7353, allocations: 1.771 MB / 1.478 GB, free: 5.145 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.7354, allocations: 18 kB / 1.478 GB, free: 5.125 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.7355, allocations: 52.56 kB / 1.478 GB, free: 5.066 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 4.549e-06/0.7355, allocations: 0 / 1.478 GB, free: 5.066 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02824/0.7637, allocations: 9.667 MB / 1.487 GB, free: 11.38 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.7638, allocations: 73.41 kB / 1.487 GB, free: 11.3 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.766, allocations: 1.453 MB / 1.489 GB, free: 9.844 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.7662, allocations: 49.7 kB / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001886/0.7681, allocations: 2.319 MB / 1.491 GB, free: 7.449 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007914/0.7689, allocations: 0.6662 MB / 1.492 GB, free: 6.777 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006705/0.7696, allocations: 408.2 kB / 1.492 GB, free: 6.371 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7697, allocations: 309.1 kB / 1.493 GB, free: 6.066 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.7715, allocations: 1.176 MB / 1.494 GB, free: 4.887 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.7739, allocations: 1.889 MB / 1.495 GB, free: 2.68 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.7786, allocations: 3.36 MB / 1.499 GB, free: 15.01 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.7786, allocations: 8 kB / 1.499 GB, free: 15 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008367/0.787, allocations: 4.535 MB / 1.503 GB, free: 10.44 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.787, allocations: 12 kB / 1.503 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-05/0.787, allocations: 27.94 kB / 1.503 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004075/0.7911, allocations: 1.581 MB / 1.505 GB, free: 8.812 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.7925, allocations: 351.4 kB / 1.505 GB, free: 8.469 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/0.8174, allocations: 17.83 MB / 1.523 GB, free: 6.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.8192, allocations: 119.9 kB / 1.523 GB, free: 6.113 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.8194, allocations: 96 kB / 1.523 GB, free: 6.02 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003246/0.8227, allocations: 1.899 MB / 1.525 GB, free: 4.109 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/0.8231, allocations: 222.6 kB / 1.525 GB, free: 3.891 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00732/0.8305, allocations: 4.036 MB / 1.529 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.8305, allocations: 11.95 kB / 1.529 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.8305, allocations: 0 / 1.529 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.8319, allocations: 462.4 kB / 1.529 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.8322, allocations: 28 kB / 1.529 GB, free: 15.33 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/0.833, allocations: 83.89 kB / 1.529 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.8333, allocations: 201.5 kB / 1.53 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009347/0.8427, allocations: 4.446 MB / 1.534 GB, free: 10.59 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006087/0.8488, allocations: 4.311 MB / 1.538 GB, free: 6.246 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001748/0.8505, allocations: 1.3 MB / 1.539 GB, free: 4.949 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001433/0.852, allocations: 0.9154 MB / 1.54 GB, free: 4.043 MB / 1.232 GB Notification: Performance of Backend: time 7.31e-07/0.852, allocations: 4 kB / 1.54 GB, free: 4.039 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008549/0.8605, allocations: 3.826 MB / 1.544 GB, free: 148 kB / 1.232 GB Notification: Performance of SimCode: time 0.01815/0.8787, allocations: 9.962 MB / 1.554 GB, free: 6.148 MB / 1.248 GB Notification: Performance of Templates: time 0.7781/1.657, allocations: 58.15 MB / 1.61 GB, free: 259.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.651638571005606] Failed to read output from testmodel.py, exit status != 0: 1.6659487750002882 1.680140344 1.084993452 Calling exit ...