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.001275/0.001275, allocations: 77.48 kB / 19.18 MB, free: 2.52 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.00139/0.00139, allocations: 166.7 kB / 22.46 MB, free: 5.375 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.423/1.423, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.002428/0.002428, allocations: 242.5 kB / 259.4 MB, free: 468 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 1.076/1.076, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.158e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.274/0.2741, allocations: 25.05 MB / 0.6713 GB, free: 43.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.2855, allocations: 7.972 MB / 0.6791 GB, free: 38.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.2871, allocations: 154.5 kB / 0.6792 GB, free: 38.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006269/0.2934, allocations: 2.795 MB / 0.6819 GB, free: 36.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.297, allocations: 1.712 MB / 0.6836 GB, free: 35.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.3009, allocations: 1.7 MB / 0.6853 GB, free: 34.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007031/0.308, allocations: 6.256 MB / 0.6914 GB, free: 31.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006045/0.314, allocations: 3.759 MB / 0.6951 GB, free: 30.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007096/0.3211, allocations: 3.73 MB / 0.6987 GB, free: 28.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005129/0.3262, allocations: 2.636 MB / 0.7013 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.3279, allocations: 0.5078 MB / 0.7018 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.3315, allocations: 1.222 MB / 0.703 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003147/0.3347, allocations: 2.195 MB / 0.7051 GB, free: 26.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003742/0.3384, allocations: 1.662 MB / 0.7067 GB, free: 25.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007318/0.3457, allocations: 8.209 MB / 0.7147 GB, free: 19.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3457, allocations: 1.25 kB / 0.7147 GB, free: 19.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3457, allocations: 0 / 0.7147 GB, free: 19.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001901/0.3459, allocations: 0 / 0.7147 GB, free: 19.9 MB / 0.5606 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.008002/0.3539, allocations: 4.212 MB / 0.7189 GB, free: 17.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.354, allocations: 9.906 kB / 0.7189 GB, free: 17.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/0.3583, allocations: 0.8333 MB / 0.7197 GB, free: 16.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.3626, allocations: 2.531 MB / 0.7222 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.3628, allocations: 274.8 kB / 0.7224 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006756/0.3634, allocations: 373.9 kB / 0.7228 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008054/0.3715, allocations: 6.451 MB / 0.7291 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.378e-05/0.3716, allocations: 19.48 kB / 0.7291 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003885/0.372, allocations: 158.8 kB / 0.7292 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005489/0.3725, allocations: 284.1 kB / 0.7295 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005892/0.3784, allocations: 4.525 MB / 0.7339 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02034/0.3987, allocations: 17.36 MB / 0.7509 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.4005, allocations: 1.062 MB / 0.7519 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.4019, allocations: 0.9602 MB / 0.7529 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.402, allocations: 17 kB / 0.7529 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.4021, allocations: 47.56 kB / 0.7529 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 2.966e-06/0.4021, allocations: 0 / 0.7529 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.02328/0.4253, allocations: 9.082 MB / 0.7618 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.4254, allocations: 64.72 kB / 0.7618 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.4273, allocations: 1.409 MB / 0.7632 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.4274, allocations: 45.7 kB / 0.7633 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.4287, allocations: 1.726 MB / 0.765 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/0.4292, allocations: 483.8 kB / 0.7654 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005473/0.4297, allocations: 331.4 kB / 0.7657 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4298, allocations: 301.1 kB / 0.766 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.4312, allocations: 0.9135 MB / 0.7669 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.4332, allocations: 1.467 MB / 0.7683 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/0.4367, allocations: 2.55 MB / 0.7708 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4367, allocations: 4 kB / 0.7708 GB, free: 500 kB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005995/0.4427, allocations: 3.26 MB / 0.774 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.4427, allocations: 16.03 kB / 0.774 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.4427, allocations: 19.75 kB / 0.7741 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/0.4452, allocations: 0.7412 MB / 0.7748 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.4468, allocations: 383.3 kB / 0.7751 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.4644, allocations: 15.81 MB / 0.7906 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.4659, allocations: 99.91 kB / 0.7907 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.466, allocations: 76 kB / 0.7908 GB, free: 11.12 MB / 0.6231 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.002285/0.4683, allocations: 1.317 MB / 0.792 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.4686, allocations: 194.8 kB / 0.7922 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.474, allocations: 2.761 MB / 0.7949 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.474, allocations: 12 kB / 0.7949 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.474, allocations: 8 kB / 0.7949 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.474, allocations: 7.969 kB / 0.7949 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009547/0.4836, allocations: 5.333 MB / 0.8002 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4836, allocations: 4 kB / 0.8002 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.4848, allocations: 235.8 kB / 0.8004 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002147/0.4869, allocations: 0.6755 MB / 0.801 GB, free: 380 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.487, allocations: 32 kB / 0.8011 GB, free: 348 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/0.5042, allocations: 15.55 MB / 0.8163 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.5043, allocations: 11.94 kB / 0.8163 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006898/0.5112, allocations: 3.97 MB / 0.8201 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009981/0.5122, allocations: 370.7 kB / 0.8205 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.5124, allocations: 31.98 kB / 0.8205 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009379/0.5133, allocations: 83.83 kB / 0.8206 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.5137, allocations: 128.6 kB / 0.8207 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/0.5138, allocations: 40.12 kB / 0.8208 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001314/0.5151, allocations: 0.9048 MB / 0.8217 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5151, allocations: 0 / 0.8217 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002252/0.5173, allocations: 0.6836 MB / 0.8223 GB, free: 9.551 MB / 0.6544 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.0002654/0.5176, allocations: 151.6 kB / 0.8225 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005539/0.5231, allocations: 3.382 MB / 0.8258 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5231, allocations: 0 / 0.8258 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003512/0.5266, allocations: 2.24 MB / 0.828 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.5293, allocations: 0.6355 MB / 0.8286 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.5401, allocations: 6.495 MB / 0.8349 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/0.5429, allocations: 2.105 MB / 0.837 GB, free: 10.22 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001348/0.5442, allocations: 472.4 kB / 0.8374 GB, free: 9.758 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.5446, allocations: 116.5 kB / 0.8375 GB, free: 9.645 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.5446, allocations: 0 / 0.8375 GB, free: 9.645 MB / 0.67 GB Notification: Performance of Templates: time 0.06072/0.6053, allocations: 33.48 MB / 0.8702 GB, free: 8.84 MB / 0.7012 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: 6.851068709045649] Failed to read output from testmodel.py, exit status != 0: 0.6135368160903454 0.6288376450000001 0.279764909 Calling exit ...