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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 110.1 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 190.8 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002371/0.002371, allocations: 305.8 kB / 307.1 MB, free: 8.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.116/1.116, allocations: 180.8 MB / 0.5304 GB, free: 14.59 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 101.1 kB / 0.7311 GB, free: 38.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1444, allocations: 94.21 MB / 0.8231 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03191/0.1763, allocations: 27.7 MB / 0.8501 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1902, allocations: 8.34 MB / 0.8583 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.1923, allocations: 150.9 kB / 0.8584 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007145/0.1994, allocations: 2.875 MB / 0.8612 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.2037, allocations: 1.668 MB / 0.8629 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.2079, allocations: 1.737 MB / 0.8646 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007313/0.2152, allocations: 6.143 MB / 0.8706 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006318/0.2215, allocations: 3.601 MB / 0.8741 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.2258, allocations: 2.648 MB / 0.8767 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004866/0.2306, allocations: 2.994 MB / 0.8796 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.232, allocations: 0.5117 MB / 0.8801 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.2351, allocations: 1.205 MB / 0.8813 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002966/0.2381, allocations: 2.1 MB / 0.8833 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004507/0.2426, allocations: 2.389 MB / 0.8856 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.2528, allocations: 8.068 MB / 0.8935 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2528, allocations: 4 kB / 0.8935 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2528, allocations: 3.938 kB / 0.8935 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002286/0.253, allocations: 0 / 0.8935 GB, free: 9.441 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.009802/0.2628, allocations: 4.26 MB / 0.8977 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2628, allocations: 8.625 kB / 0.8977 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/0.2672, allocations: 0.8179 MB / 0.8985 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005272/0.2725, allocations: 2.526 MB / 0.901 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.2727, allocations: 275.6 kB / 0.9012 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008714/0.2736, allocations: 376.6 kB / 0.9016 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.2837, allocations: 5.992 MB / 0.9074 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.2838, allocations: 15.83 kB / 0.9075 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004259/0.2842, allocations: 164 kB / 0.9076 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006135/0.2849, allocations: 282.9 kB / 0.9079 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008066/0.2929, allocations: 4.524 MB / 0.9123 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03106/0.324, allocations: 27.14 MB / 0.9388 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.3256, allocations: 1.06 MB / 0.9398 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.3269, allocations: 0.9647 MB / 0.9408 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.918e-05/0.327, allocations: 13 kB / 0.9408 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.3271, allocations: 51.56 kB / 0.9408 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.344e-06/0.3271, allocations: 0 / 0.9408 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=131): time 0.0205/0.3476, allocations: 9.089 MB / 0.9497 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.3476, allocations: 64.72 kB / 0.9498 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.3497, allocations: 1.498 MB / 0.9512 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.3498, allocations: 53.7 kB / 0.9513 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.351, allocations: 1.715 MB / 0.953 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.3514, allocations: 495.8 kB / 0.9534 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005127/0.3519, allocations: 323.4 kB / 0.9537 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3521, allocations: 313.1 kB / 0.954 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.3534, allocations: 0.9135 MB / 0.9549 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.3551, allocations: 1.463 MB / 0.9564 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.3584, allocations: 2.55 MB / 0.9589 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.3584, allocations: 4 kB / 0.9589 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005739/0.3641, allocations: 3.279 MB / 0.9621 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3642, allocations: 12 kB / 0.9621 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.3642, allocations: 16 kB / 0.9621 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.3664, allocations: 0.7374 MB / 0.9628 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.3679, allocations: 383.4 kB / 0.9632 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/0.3845, allocations: 16.14 MB / 0.9789 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.3859, allocations: 99.91 kB / 0.979 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.3861, allocations: 79.98 kB / 0.9791 GB, free: 13.21 MB / 0.7325 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.002113/0.3882, allocations: 1.31 MB / 0.9804 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/0.3887, allocations: 214.7 kB / 0.9806 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/0.3938, allocations: 2.765 MB / 0.9833 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3938, allocations: 16 kB / 0.9833 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.3938, allocations: 4 kB / 0.9833 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3939, allocations: 3.984 kB / 0.9833 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.4042, allocations: 6.173 MB / 0.9893 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.4042, allocations: 4 kB / 0.9893 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.4053, allocations: 236.3 kB / 0.9896 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/0.4073, allocations: 0.6671 MB / 0.9902 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-05/0.4074, allocations: 32 kB / 0.9902 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.4229, allocations: 15.87 MB / 1.006 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/0.423, allocations: 12.06 kB / 1.006 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3246/0.7476, allocations: 3.993 MB / 1.01 GB, free: 166.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007354/0.7483, allocations: 392.5 kB / 1.01 GB, free: 166.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.7485, allocations: 32.33 kB / 1.01 GB, free: 166.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/0.7493, allocations: 84.62 kB / 1.01 GB, free: 166.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.7496, allocations: 119.6 kB / 1.01 GB, free: 166.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.7497, allocations: 41.33 kB / 1.01 GB, free: 166.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001197/0.7508, allocations: 0.9904 MB / 1.011 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.7508, allocations: 0 / 1.011 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00193/0.7528, allocations: 0.6843 MB / 1.012 GB, free: 166.2 MB / 0.7481 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.0001906/0.753, allocations: 153.7 kB / 1.012 GB, free: 166.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004441/0.7574, allocations: 3.381 MB / 1.015 GB, free: 165.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.7574, allocations: 2.344 kB / 1.015 GB, free: 165.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.76, allocations: 2.242 MB / 1.018 GB, free: 163.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.7624, allocations: 0.6725 MB / 1.018 GB, free: 163.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009136/0.7715, allocations: 6.653 MB / 1.025 GB, free: 160.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/0.7733, allocations: 2.665 MB / 1.027 GB, free: 159.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001103/0.7744, allocations: 490.1 kB / 1.028 GB, free: 159.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.7747, allocations: 116.8 kB / 1.028 GB, free: 159.4 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/0.7747, allocations: 0 / 1.028 GB, free: 159.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.04295/0.8177, allocations: 35.71 MB / 1.063 GB, free: 132.2 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.90090691200021] Failed to read output from testmodel.py, exit status != 0: 0.8245313080042251 0.833180139 0.578181993 Calling exit ...