Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001247/0.001247, allocations: 109.8 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.001288/0.001288, allocations: 192.3 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.374/1.374, allocations: 225.6 MB / 251.6 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.003594/0.003594, allocations: 288.3 kB / 307 MB, free: 8.438 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.217/1.217, allocations: 180.8 MB / 0.5304 GB, free: 14.45 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002855, allocations: 104.9 kB / 0.7311 GB, free: 38.55 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.176, allocations: 94.21 MB / 0.8231 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008973/0.185, allocations: 6.337 MB / 0.8293 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00595/0.191, allocations: 3.297 MB / 0.8325 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000661/0.1916, allocations: 47.56 kB / 0.8326 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.1943, allocations: 0.9754 MB / 0.8335 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.1956, allocations: 489.5 kB / 0.834 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.197, allocations: 0.5008 MB / 0.8345 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.1984, allocations: 1.1 MB / 0.8356 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008188/0.1992, allocations: 0.5178 MB / 0.8361 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006303/0.1998, allocations: 454.4 kB / 0.8365 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/0.2005, allocations: 0.4981 MB / 0.837 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.053e-05/0.2006, allocations: 60 kB / 0.837 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008044/0.2014, allocations: 443 kB / 0.8375 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.2017, allocations: 295.2 kB / 0.8377 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.2021, allocations: 401.9 kB / 0.8381 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.2036, allocations: 1.198 MB / 0.8393 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2036, allocations: 0 / 0.8393 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2036, allocations: 0 / 0.8393 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.2036, allocations: 0 / 0.8393 GB, free: 1.293 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001695/0.2053, allocations: 1.014 MB / 0.8403 GB, free: 248 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2053, allocations: 8.625 kB / 0.8403 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.2068, allocations: 228.2 kB / 0.8405 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.2078, allocations: 0.5166 MB / 0.841 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.2078, allocations: 45.67 kB / 0.8411 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.2079, allocations: 64.36 kB / 0.8411 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.2095, allocations: 1.138 MB / 0.8422 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.2095, allocations: 7.953 kB / 0.8422 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.2096, allocations: 35.92 kB / 0.8423 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.61e-05/0.2097, allocations: 69.27 kB / 0.8423 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2108, allocations: 0.6918 MB / 0.843 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005614/0.2164, allocations: 5.639 MB / 0.8485 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.2172, allocations: 411 kB / 0.8489 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.218, allocations: 388.6 kB / 0.8493 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.2181, allocations: 4 kB / 0.8493 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2181, allocations: 34.56 kB / 0.8493 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.464e-06/0.2181, allocations: 0 / 0.8493 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.004401/0.2225, allocations: 1.714 MB / 0.851 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.2226, allocations: 55.41 kB / 0.851 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.2231, allocations: 466.8 kB / 0.8515 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.2231, allocations: 33.7 kB / 0.8515 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.2234, allocations: 400.1 kB / 0.8519 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.2235, allocations: 158.6 kB / 0.8521 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.2237, allocations: 106.3 kB / 0.8522 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2239, allocations: 366.8 kB / 0.8525 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.2243, allocations: 241.2 kB / 0.8527 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.2248, allocations: 461 kB / 0.8532 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009837/0.2258, allocations: 0.7487 MB / 0.8539 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2258, allocations: 0 / 0.8539 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001908/0.2277, allocations: 1.035 MB / 0.8549 GB, free: 384 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.2277, allocations: 8 kB / 0.8549 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.2278, allocations: 11.98 kB / 0.8549 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.2288, allocations: 323.7 kB / 0.8552 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.2292, allocations: 99.81 kB / 0.8553 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007685/0.2369, allocations: 7.069 MB / 0.8622 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.2373, allocations: 28.02 kB / 0.8623 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.2374, allocations: 28 kB / 0.8623 GB, free: 8.336 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003664/0.2377, allocations: 242.2 kB / 0.8625 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.2378, allocations: 67.52 kB / 0.8626 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.2396, allocations: 0.8844 MB / 0.8635 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2396, allocations: 7.938 kB / 0.8635 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.2396, allocations: 8 kB / 0.8635 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2396, allocations: 3.984 kB / 0.8635 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.2424, allocations: 1.641 MB / 0.8651 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2424, allocations: 0 / 0.8651 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.2425, allocations: 44.19 kB / 0.8651 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009768/0.2435, allocations: 315.4 kB / 0.8654 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.2435, allocations: 11.98 kB / 0.8654 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007621/0.2512, allocations: 7.053 MB / 0.8723 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.2512, allocations: 7.938 kB / 0.8723 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.253, allocations: 0.9797 MB / 0.8733 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.2532, allocations: 95.58 kB / 0.8734 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.2533, allocations: 12 kB / 0.8734 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.2535, allocations: 19.97 kB / 0.8734 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.2537, allocations: 47.8 kB / 0.8735 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.2537, allocations: 12.23 kB / 0.8735 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003912/0.2541, allocations: 310.9 kB / 0.8738 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2541, allocations: 0 / 0.8738 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000827/0.2549, allocations: 199.9 kB / 0.874 GB, free: 11.78 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.2551, allocations: 107.5 kB / 0.8741 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.257, allocations: 1.175 MB / 0.8752 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.257, allocations: 3.938 kB / 0.8752 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.2583, allocations: 0.8191 MB / 0.876 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.2593, allocations: 210.8 kB / 0.8762 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.2613, allocations: 1.259 MB / 0.8774 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.262, allocations: 0.992 MB / 0.8784 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.2622, allocations: 97.19 kB / 0.8785 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.2623, allocations: 39.44 kB / 0.8785 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.2623, allocations: 0 / 0.8785 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of Templates: time 0.01887/0.2812, allocations: 10.47 MB / 0.8888 GB, free: 12.55 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.272650808095932] Failed to read output from testmodel.py, exit status != 0: 0.28909075492992997 0.30365489599999995 0.09685020800000001 Calling exit ...