Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00114/0.00114, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002724, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001161/0.001161, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002658, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9407/0.9407, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07944/1.02, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 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.001378/0.001378, allocations: 236.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.002469, allocations: 478.9 kB / 244.7 MB, free: 14.17 MB / 250.7 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 0.7007/0.7007, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07491/0.7756, allocations: 42.4 MB / 426.5 MB, free: 5.953 MB / 410.7 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.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.563e-05, allocations: 2.312 kB / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.1952/0.1952, allocations: 10.6 MB / 438.4 MB, free: 15.45 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008721/0.2039, allocations: 7.071 MB / 445.5 MB, free: 11.42 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.2051, allocations: 78.53 kB / 445.5 MB, free: 11.38 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009017/0.206, allocations: 423.8 kB / 445.9 MB, free: 11.14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.2096, allocations: 1.782 MB / 447.7 MB, free: 10.08 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.2109, allocations: 0.6583 MB / 448.4 MB, free: 9.676 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003/0.2139, allocations: 2.997 MB / 451.4 MB, free: 8.035 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.2154, allocations: 1.16 MB / 452.5 MB, free: 7.379 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.2179, allocations: 2.267 MB / 454.8 MB, free: 5.871 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.2193, allocations: 1.053 MB / 455.9 MB, free: 4.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.2195, allocations: 160 kB / 456 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.2201, allocations: 323.6 kB / 456.3 MB, free: 4.348 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006547/0.2208, allocations: 0.5726 MB / 456.9 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.2214, allocations: 0.5427 MB / 457.5 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.2227, allocations: 1.448 MB / 458.9 MB, free: 1.773 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.2227, allocations: 1.219 kB / 458.9 MB, free: 1.773 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2227, allocations: 3.938 kB / 458.9 MB, free: 1.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.2227, allocations: 0 / 458.9 MB, free: 1.77 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002486/0.2252, allocations: 2.392 MB / 461.3 MB, free: 15.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.2252, allocations: 12.75 kB / 461.3 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.2284, allocations: 0.9463 MB / 462.3 MB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.2297, allocations: 1.058 MB / 463.3 MB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.2298, allocations: 82.69 kB / 463.4 MB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.2299, allocations: 124.9 kB / 463.5 MB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.232, allocations: 1.623 MB / 465.1 MB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.232, allocations: 7.984 kB / 465.1 MB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.2321, allocations: 52.8 kB / 465.2 MB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002872/0.2324, allocations: 154.2 kB / 465.4 MB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.2332, allocations: 0.5703 MB / 465.9 MB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005689/0.2389, allocations: 5.728 MB / 471.6 MB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/0.2398, allocations: 0.5853 MB / 472.2 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.2402, allocations: 259.2 kB / 472.5 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.2402, allocations: 13 kB / 472.5 MB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2402, allocations: 43.56 kB / 472.5 MB, free: 3.762 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 3.747e-06/0.2402, allocations: 0 / 472.5 MB, free: 3.762 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.008444/0.2487, allocations: 3.899 MB / 476.4 MB, free: 15.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2487, allocations: 64.41 kB / 476.5 MB, free: 15.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.2493, allocations: 0.8989 MB / 477.4 MB, free: 15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.2494, allocations: 41.7 kB / 477.4 MB, free: 14.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.2496, allocations: 0.5812 MB / 478 MB, free: 14.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.2498, allocations: 337.1 kB / 478.4 MB, free: 14.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.25, allocations: 186.7 kB / 478.5 MB, free: 13.85 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.2501, allocations: 353.8 kB / 478.9 MB, free: 13.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.2504, allocations: 187.8 kB / 479.1 MB, free: 13.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.2507, allocations: 448.2 kB / 479.5 MB, free: 12.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.2514, allocations: 0.7077 MB / 480.2 MB, free: 11.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2514, allocations: 5.562 kB / 480.2 MB, free: 11.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001871/0.2533, allocations: 1.264 MB / 481.5 MB, free: 10.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2533, allocations: 8 kB / 481.5 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2533, allocations: 8 kB / 481.5 MB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/0.2554, allocations: 0.8553 MB / 482.4 MB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.256, allocations: 211.7 kB / 482.6 MB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.2617, allocations: 6.999 MB / 489.6 MB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.2623, allocations: 51.97 kB / 489.6 MB, free: 2.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.2623, allocations: 39.97 kB / 489.6 MB, free: 2.141 MB / 458.7 MB 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 (73): * Single equations (assignments): 69 * 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 {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003092/0.2626, allocations: 176.4 kB / 489.8 MB, free: 1.957 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.2628, allocations: 119.9 kB / 489.9 MB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.2648, allocations: 1.246 MB / 491.2 MB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2648, allocations: 15.94 kB / 491.2 MB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.2648, allocations: 14.12 kB / 491.2 MB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2648, allocations: 3.984 kB / 491.2 MB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.2677, allocations: 1.973 MB / 493.2 MB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2677, allocations: 4 kB / 493.2 MB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.2682, allocations: 135.8 kB / 493.3 MB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.2685, allocations: 246.9 kB / 493.6 MB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.2706, allocations: 0.8463 MB / 494.4 MB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.2706, allocations: 23.97 kB / 494.4 MB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/0.276, allocations: 6.993 MB / 0.4897 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.276, allocations: 4 kB / 0.4897 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.2779, allocations: 1.266 MB / 0.4909 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.2781, allocations: 24 kB / 0.4909 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.2785, allocations: 39.98 kB / 0.491 GB, free: 4.496 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.2787, allocations: 88.77 kB / 0.4911 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.2788, allocations: 31.89 kB / 0.4911 GB, free: 4.379 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003207/0.2791, allocations: 459.7 kB / 0.4915 GB, free: 3.926 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2791, allocations: 0 / 0.4915 GB, free: 3.926 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000949/0.28, allocations: 484 kB / 0.492 GB, free: 3.453 MB / 474.7 MB 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 (37): * Single equations (assignments): 33 * 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 {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.2802, allocations: 112.3 kB / 0.4921 GB, free: 3.332 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.2818, allocations: 1.463 MB / 0.4935 GB, free: 1.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.197e-05/0.2819, allocations: 27.06 kB / 0.4936 GB, free: 1.797 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.2829, allocations: 1.132 MB / 0.4947 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.2841, allocations: 0.6332 MB / 0.4953 GB, free: 24 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008031/0.2921, allocations: 2.592 MB / 0.4978 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.2925, allocations: 396.1 kB / 0.4982 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007606/0.2932, allocations: 280.2 kB / 0.4985 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007706/0.294, allocations: 399 kB / 0.4988 GB, free: 12.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.834e-06/0.294, allocations: 4 kB / 0.4988 GB, free: 12.3 MB / 490.7 MB Notification: Performance of Templates: time 0.03738/0.3314, allocations: 36.41 MB / 0.5344 GB, free: 8.742 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0596566228196025]