Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001693/0.001693, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002061/0.002061, allocations: 157.4 kB / 23.01 MB, free: 4.602 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002435/0.002435, allocations: 230.5 kB / 260 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.927/0.927, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003157/0.003157, allocations: 104.2 kB / 0.6474 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4061, allocations: 95.34 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03326/0.4394, allocations: 33.67 MB / 0.7734 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.4581, allocations: 10.03 MB / 0.7831 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.4619, allocations: 190.8 kB / 0.7833 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.4727, allocations: 3.821 MB / 0.7871 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006488/0.4791, allocations: 2.145 MB / 0.7892 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.4846, allocations: 1.972 MB / 0.7911 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.4953, allocations: 7.974 MB / 0.7989 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008645/0.504, allocations: 5.222 MB / 0.804 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008965/0.5129, allocations: 3.494 MB / 0.8074 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007195/0.5201, allocations: 3.695 MB / 0.811 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.5218, allocations: 0.6797 MB / 0.8117 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.5252, allocations: 1.361 MB / 0.813 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003306/0.5285, allocations: 2.689 MB / 0.8156 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004348/0.5328, allocations: 2.514 MB / 0.8181 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.5447, allocations: 10.46 MB / 0.8283 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5447, allocations: 0 / 0.8283 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5447, allocations: 0 / 0.8283 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002612/0.545, allocations: 0 / 0.8283 GB, free: 8.676 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01217/0.5571, allocations: 5.463 MB / 0.8336 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.5572, allocations: 12.75 kB / 0.8336 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005043/0.5622, allocations: 1.001 MB / 0.8346 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006674/0.5689, allocations: 3.128 MB / 0.8377 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003831/0.5693, allocations: 353.9 kB / 0.838 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.5704, allocations: 472.3 kB / 0.8384 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.5873, allocations: 8.667 MB / 0.8469 GB, free: 4.918 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.5875, allocations: 23.81 kB / 0.8469 GB, free: 4.895 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.5885, allocations: 212 kB / 0.8471 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005975/0.5891, allocations: 365.1 kB / 0.8475 GB, free: 4.328 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.6013, allocations: 5.929 MB / 0.8533 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03726/0.6386, allocations: 22.95 MB / 0.8757 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.6425, allocations: 1.988 MB / 0.8776 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.6447, allocations: 1.33 MB / 0.8789 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.6448, allocations: 17.31 kB / 0.8789 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.6449, allocations: 59.8 kB / 0.879 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 3.707e-06/0.6449, allocations: 0 / 0.879 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01553/0.6604, allocations: 6.651 MB / 0.8855 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.6605, allocations: 68.72 kB / 0.8856 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.6635, allocations: 1.705 MB / 0.8872 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.6636, allocations: 53.7 kB / 0.8873 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.6654, allocations: 2.202 MB / 0.8894 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006321/0.666, allocations: 0.5771 MB / 0.89 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007488/0.6667, allocations: 408 kB / 0.8904 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6669, allocations: 305.1 kB / 0.8907 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.6687, allocations: 1.058 MB / 0.8917 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.6711, allocations: 1.764 MB / 0.8934 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.6759, allocations: 3.049 MB / 0.8964 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/0.676, allocations: 8 kB / 0.8964 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007542/0.6835, allocations: 3.887 MB / 0.9002 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.6835, allocations: 16 kB / 0.9002 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.6836, allocations: 20.09 kB / 0.9002 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002648/0.6862, allocations: 0.935 MB / 0.9012 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.6879, allocations: 431.3 kB / 0.9016 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/0.7109, allocations: 21.12 MB / 0.9222 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.7128, allocations: 128 kB / 0.9223 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.713, allocations: 92 kB / 0.9224 GB, free: 4.848 MB / 0.7481 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002742/0.7158, allocations: 1.653 MB / 0.924 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.7162, allocations: 246.5 kB / 0.9242 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005713/0.722, allocations: 3.225 MB / 0.9274 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.722, allocations: 16 kB / 0.9274 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.722, allocations: 11.94 kB / 0.9274 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.722, allocations: 11.97 kB / 0.9274 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.7336, allocations: 6.445 MB / 0.9337 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.7336, allocations: 8 kB / 0.9337 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/0.7346, allocations: 211.7 kB / 0.9339 GB, free: 8.828 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.737, allocations: 0.8887 MB / 0.9348 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.7371, allocations: 36 kB / 0.9348 GB, free: 7.867 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02278/0.7599, allocations: 21.09 MB / 0.9554 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.7599, allocations: 8 kB / 0.9554 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005962/0.7658, allocations: 3.348 MB / 0.9587 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.7671, allocations: 458.3 kB / 0.9592 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.7674, allocations: 35.94 kB / 0.9592 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.7684, allocations: 95.89 kB / 0.9593 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003818/0.7688, allocations: 144.9 kB / 0.9594 GB, free: 13.35 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.7689, allocations: 44 kB / 0.9595 GB, free: 13.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001585/0.7705, allocations: 1.094 MB / 0.9605 GB, free: 12.19 MB / 0.795 GB Notification: Performance of sort global known variables: time 5e-08/0.7705, allocations: 0 / 0.9605 GB, free: 12.19 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002781/0.7733, allocations: 0.9023 MB / 0.9614 GB, free: 11.29 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/0.7736, allocations: 155 kB / 0.9616 GB, free: 11.13 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006924/0.7805, allocations: 4.291 MB / 0.9657 GB, free: 6.688 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.7805, allocations: 0 / 0.9657 GB, free: 6.688 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004515/0.785, allocations: 2.906 MB / 0.9686 GB, free: 3.625 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/0.7884, allocations: 0.7701 MB / 0.9693 GB, free: 2.879 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.8022, allocations: 7.81 MB / 0.977 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003693/0.8059, allocations: 2.665 MB / 0.9796 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001716/0.8077, allocations: 0.5083 MB / 0.9801 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.808, allocations: 140.5 kB / 0.9802 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of SimCode: time 1.142e-06/0.808, allocations: 0 / 0.9802 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of Templates: time 0.4534/1.261, allocations: 42.49 MB / 1.022 GB, free: 195.2 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.913715272094123] Failed to read output from testmodel.py, exit status != 0: 1.2710103929275647 1.290348422 0.741649571 Calling exit ...