Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001402/0.001402, 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.001569/0.001569, allocations: 215.2 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.002778/0.002778, allocations: 297.2 kB / 313.5 MB, free: 2.621 MB / 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 1.254/1.254, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [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.003043/0.003043, allocations: 101.8 kB / 0.7407 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1698, allocations: 95.39 MB / 0.8339 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03484/0.2046, allocations: 25.57 MB / 0.8589 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.2202, allocations: 8.087 MB / 0.8668 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.2226, allocations: 154.8 kB / 0.8669 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007771/0.2304, allocations: 2.767 MB / 0.8696 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.2354, allocations: 1.675 MB / 0.8712 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.2401, allocations: 1.684 MB / 0.8729 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00837/0.2485, allocations: 6.131 MB / 0.8789 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005932/0.2544, allocations: 3.745 MB / 0.8825 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004849/0.2593, allocations: 2.672 MB / 0.8851 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005292/0.2646, allocations: 2.819 MB / 0.8879 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.2659, allocations: 0.5117 MB / 0.8884 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.269, allocations: 1.197 MB / 0.8896 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002799/0.2718, allocations: 2.108 MB / 0.8916 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003388/0.2752, allocations: 1.934 MB / 0.8935 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009723/0.2849, allocations: 8.114 MB / 0.9014 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2849, allocations: 0 / 0.9014 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2849, allocations: 0 / 0.9014 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002045/0.2851, allocations: 0 / 0.9014 GB, free: 2.367 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01026/0.2954, allocations: 4.26 MB / 0.9056 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.2954, allocations: 12.75 kB / 0.9056 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/0.2997, allocations: 0.814 MB / 0.9064 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005976/0.3057, allocations: 2.538 MB / 0.9089 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.3059, allocations: 275.6 kB / 0.9091 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008252/0.3067, allocations: 376.6 kB / 0.9095 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.3174, allocations: 6.44 MB / 0.9158 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.433e-05/0.3175, allocations: 19.83 kB / 0.9158 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.3179, allocations: 156 kB / 0.916 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006105/0.3185, allocations: 282.9 kB / 0.9162 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008049/0.3266, allocations: 4.52 MB / 0.9206 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.3521, allocations: 17.41 MB / 0.9376 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.3538, allocations: 1.056 MB / 0.9387 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3552, allocations: 0.9602 MB / 0.9396 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.741e-05/0.3553, allocations: 17 kB / 0.9396 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.3553, allocations: 43.56 kB / 0.9397 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 3.297e-06/0.3553, allocations: 0 / 0.9397 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=131): time 0.0224/0.3777, allocations: 9.092 MB / 0.9485 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3778, allocations: 64.72 kB / 0.9486 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.3798, allocations: 1.397 MB / 0.95 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.38, allocations: 49.7 kB / 0.95 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.3813, allocations: 1.73 MB / 0.9517 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/0.3819, allocations: 491.8 kB / 0.9522 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005498/0.3824, allocations: 331.4 kB / 0.9525 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3825, allocations: 305.1 kB / 0.9528 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.384, allocations: 0.9135 MB / 0.9537 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.3859, allocations: 1.463 MB / 0.9551 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/0.3896, allocations: 2.558 MB / 0.9576 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.3896, allocations: 7.938 kB / 0.9576 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00637/0.396, allocations: 3.252 MB / 0.9608 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.396, allocations: 25.84 kB / 0.9608 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.3961, allocations: 16 kB / 0.9608 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.3984, allocations: 0.7334 MB / 0.9615 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.4001, allocations: 383.4 kB / 0.9619 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.4185, allocations: 15.83 MB / 0.9774 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.4203, allocations: 99.91 kB / 0.9775 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.4204, allocations: 72.14 kB / 0.9775 GB, free: 1.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002525/0.4229, allocations: 1.314 MB / 0.9788 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.4234, allocations: 202.8 kB / 0.979 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/0.4288, allocations: 2.757 MB / 0.9817 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.4288, allocations: 16 kB / 0.9817 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.4288, allocations: 4 kB / 0.9817 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.4288, allocations: 3.984 kB / 0.9817 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.4395, allocations: 5.345 MB / 0.9869 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.4395, allocations: 4 kB / 0.9869 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.4407, allocations: 223.7 kB / 0.9871 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.4427, allocations: 0.6717 MB / 0.9878 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.4429, allocations: 31.98 kB / 0.9878 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3866/0.8294, allocations: 15.56 MB / 1.003 GB, free: 138.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.8294, allocations: 9.438 kB / 1.003 GB, free: 138.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005726/0.8352, allocations: 3.981 MB / 1.007 GB, free: 137.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.8362, allocations: 370.9 kB / 1.007 GB, free: 137.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.8364, allocations: 40.36 kB / 1.007 GB, free: 137.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008593/0.8373, allocations: 80.69 kB / 1.007 GB, free: 137.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.8376, allocations: 129.5 kB / 1.008 GB, free: 137.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.8377, allocations: 40.56 kB / 1.008 GB, free: 137.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001072/0.8387, allocations: 0.9044 MB / 1.008 GB, free: 137.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5e-08/0.8387, allocations: 0 / 1.008 GB, free: 137.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002014/0.8407, allocations: 0.6814 MB / 1.009 GB, free: 137 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002255/0.841, allocations: 149.5 kB / 1.009 GB, free: 136.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005205/0.8462, allocations: 3.386 MB / 1.013 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.8462, allocations: 1.594 kB / 1.013 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003216/0.8494, allocations: 2.246 MB / 1.015 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/0.8522, allocations: 0.6384 MB / 1.015 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.863, allocations: 7.141 MB / 1.022 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.8653, allocations: 2.158 MB / 1.024 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.8658, allocations: 128.7 kB / 1.025 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/0.8658, allocations: 0 / 1.025 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.1616/1.027, allocations: 210.7 MB / 1.23 GB, free: 5.523 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.62287326529622] Failed to read output from testmodel.py, exit status != 0: 1.0358391413465142 1.051098691 0.762916921 Calling exit ...