Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001819/0.001819, allocations: 103.8 kB / 19.71 MB, free: 2.145 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.001706/0.001706, allocations: 209.9 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.543/1.543, 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.239/3.239, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.00301/0.00301, allocations: 71.17 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3988, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04907/0.4479, allocations: 36.43 MB / 1.363 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.4693, allocations: 11.11 MB / 1.374 GB, free: 1.309 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003745/0.4731, allocations: 202.5 kB / 1.374 GB, free: 1.109 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.4852, allocations: 4.381 MB / 1.378 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007005/0.4922, allocations: 2.328 MB / 1.38 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00585/0.4981, allocations: 2.178 MB / 1.382 GB, free: 8.203 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01272/0.5108, allocations: 9.281 MB / 1.391 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/0.5225, allocations: 6.391 MB / 1.398 GB, free: 8.379 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00732/0.5298, allocations: 4.133 MB / 1.402 GB, free: 4.234 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008468/0.5383, allocations: 4.755 MB / 1.406 GB, free: 15.46 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002534/0.5408, allocations: 0.8203 MB / 1.407 GB, free: 14.64 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004816/0.5456, allocations: 1.502 MB / 1.409 GB, free: 13.14 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005503/0.5511, allocations: 3.238 MB / 1.412 GB, free: 9.895 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006639/0.5578, allocations: 2.965 MB / 1.415 GB, free: 6.918 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.5731, allocations: 12.41 MB / 1.427 GB, free: 10.47 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5731, allocations: 0 / 1.427 GB, free: 10.47 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5731, allocations: 0 / 1.427 GB, free: 10.47 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003712/0.5735, allocations: 0 / 1.427 GB, free: 10.47 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01799/0.5915, allocations: 6.403 MB / 1.433 GB, free: 4.008 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5915, allocations: 8.031 kB / 1.433 GB, free: 4 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.5979, allocations: 1.098 MB / 1.434 GB, free: 2.898 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.6079, allocations: 3.576 MB / 1.438 GB, free: 15.26 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.6083, allocations: 431.7 kB / 1.438 GB, free: 14.84 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.6104, allocations: 0.5433 MB / 1.439 GB, free: 14.29 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02136/0.6318, allocations: 10.28 MB / 1.449 GB, free: 3.453 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.6319, allocations: 19.83 kB / 1.449 GB, free: 3.434 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007967/0.6327, allocations: 244 kB / 1.449 GB, free: 3.195 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000618/0.6333, allocations: 422.9 kB / 1.449 GB, free: 2.781 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/0.6479, allocations: 7.116 MB / 1.456 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0445/0.6924, allocations: 25.36 MB / 1.481 GB, free: 1.672 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.6974, allocations: 2.898 MB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/0.7005, allocations: 1.934 MB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.7006, allocations: 22 kB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.7007, allocations: 60.56 kB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 4.608e-06/0.7007, allocations: 0 / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02581/0.7265, allocations: 10.25 MB / 1.496 GB, free: 2.488 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.7266, allocations: 77.41 kB / 1.496 GB, free: 2.398 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.7294, allocations: 1.837 MB / 1.498 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003149/0.7297, allocations: 61.7 kB / 1.498 GB, free: 476 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002575/0.7323, allocations: 2.488 MB / 1.5 GB, free: 13.95 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.7333, allocations: 0.7707 MB / 1.501 GB, free: 13.18 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008497/0.7342, allocations: 477.5 kB / 1.501 GB, free: 12.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7343, allocations: 301.1 kB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.7365, allocations: 1.376 MB / 1.503 GB, free: 11.03 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/0.7395, allocations: 2.108 MB / 1.505 GB, free: 8.602 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00536/0.7449, allocations: 3.77 MB / 1.509 GB, free: 4.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.7449, allocations: 8 kB / 1.509 GB, free: 4.512 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009409/0.7543, allocations: 5.007 MB / 1.514 GB, free: 15.48 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.7544, allocations: 21.86 kB / 1.514 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/0.7544, allocations: 24 kB / 1.514 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/0.7585, allocations: 1.577 MB / 1.515 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.7604, allocations: 455.2 kB / 1.516 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/0.7868, allocations: 17.78 MB / 1.533 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.7891, allocations: 139.9 kB / 1.533 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.7893, allocations: 116 kB / 1.533 GB, free: 10.97 MB / 1.232 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003661/0.793, allocations: 1.942 MB / 1.535 GB, free: 9.016 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000693/0.7937, allocations: 282.3 kB / 1.535 GB, free: 8.738 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00798/0.8017, allocations: 4.381 MB / 1.54 GB, free: 4.328 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/0.8017, allocations: 19.89 kB / 1.54 GB, free: 4.309 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8017, allocations: 0 / 1.54 GB, free: 4.309 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/0.8036, allocations: 0.5411 MB / 1.54 GB, free: 3.766 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/0.8042, allocations: 35.95 kB / 1.54 GB, free: 3.73 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.8054, allocations: 120 kB / 1.54 GB, free: 3.613 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005127/0.8059, allocations: 225.4 kB / 1.541 GB, free: 3.391 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01155/0.8175, allocations: 4.836 MB / 1.545 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007377/0.8249, allocations: 4.823 MB / 1.55 GB, free: 9.688 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002237/0.8271, allocations: 1.469 MB / 1.551 GB, free: 8.223 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001925/0.829, allocations: 1.168 MB / 1.553 GB, free: 7.039 MB / 1.248 GB Notification: Performance of Backend: time 7.51e-07/0.829, allocations: 0 / 1.553 GB, free: 7.039 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008761/0.8378, allocations: 3.814 MB / 1.556 GB, free: 3.16 MB / 1.248 GB Notification: Performance of SimCode: time 0.02176/0.8595, allocations: 10.41 MB / 1.567 GB, free: 8.688 MB / 1.264 GB Notification: Performance of Templates: time 0.7849/1.644, allocations: 65.53 MB / 1.631 GB, free: 253.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.800983394998184] Failed to read output from testmodel.py, exit status != 0: 1.6548897570028203 1.675137253 1.097586958 Calling exit ...