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.000739/0.000739, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001876, allocations: 440 kB / 10.41 MB, free: 284 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.0007276/0.0007276, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001735, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9507/0.9507, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08249/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.001684/0.001684, allocations: 241.1 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002989, allocations: 467.7 kB / 244.8 MB, free: 14.08 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.6953/0.6953, allocations: 138.7 MB / 384.3 MB, free: 384 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06699/0.7622, allocations: 42.4 MB / 426.7 MB, free: 5.836 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 1.493e-06/1.493e-06, allocations: 0 / 428.1 MB, free: 4.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.873e-05, allocations: 2.312 kB / 428.1 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.2323/0.2323, allocations: 10.61 MB / 438.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009058/0.2414, allocations: 7.073 MB / 445.7 MB, free: 11.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.2426, allocations: 78.25 kB / 445.8 MB, free: 11.29 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.2435, allocations: 419.9 kB / 446.2 MB, free: 11.06 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.2471, allocations: 1.79 MB / 448 MB, free: 9.992 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2484, allocations: 0.6502 MB / 448.7 MB, free: 9.582 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.2516, allocations: 3.002 MB / 451.7 MB, free: 7.938 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.253, allocations: 1.164 MB / 452.8 MB, free: 7.273 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.2557, allocations: 2.262 MB / 455.1 MB, free: 5.695 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.2571, allocations: 1.05 MB / 456.1 MB, free: 4.648 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.2574, allocations: 160 kB / 456.3 MB, free: 4.492 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006624/0.258, allocations: 327.5 kB / 456.6 MB, free: 4.172 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.2585, allocations: 0.574 MB / 457.2 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.259, allocations: 0.538 MB / 457.7 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.2603, allocations: 1.463 MB / 459.2 MB, free: 1.586 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.2603, allocations: 0 / 459.2 MB, free: 1.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2603, allocations: 0.7812 kB / 459.2 MB, free: 1.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.074e-05/0.2604, allocations: 0 / 459.2 MB, free: 1.586 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.00249/0.2629, allocations: 2.388 MB / 461.6 MB, free: 15.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.2629, allocations: 13.44 kB / 461.6 MB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.2659, allocations: 0.9431 MB / 462.5 MB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.2671, allocations: 1.057 MB / 463.6 MB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.2671, allocations: 82.69 kB / 463.7 MB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.2673, allocations: 132.2 kB / 463.8 MB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.2689, allocations: 1.612 MB / 465.4 MB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.2689, allocations: 10.91 kB / 465.4 MB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.269, allocations: 59.91 kB / 465.5 MB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000277/0.2693, allocations: 146.2 kB / 465.6 MB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.27, allocations: 0.5603 MB / 466.2 MB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.2754, allocations: 5.732 MB / 471.9 MB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000879/0.2762, allocations: 0.5875 MB / 472.5 MB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.2765, allocations: 248.2 kB / 472.8 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.2766, allocations: 23.66 kB / 472.8 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.2766, allocations: 43.5 kB / 472.8 MB, free: 3.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.2766, allocations: 0 / 472.8 MB, free: 3.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.008303/0.2849, allocations: 3.961 MB / 476.8 MB, free: 15.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.2849, allocations: 60.41 kB / 476.8 MB, free: 15.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000587/0.2855, allocations: 0.9067 MB / 477.7 MB, free: 14.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.2856, allocations: 45.69 kB / 477.8 MB, free: 14.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.2858, allocations: 0.5735 MB / 478.4 MB, free: 14.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.286, allocations: 337 kB / 478.7 MB, free: 13.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.2863, allocations: 190.7 kB / 478.9 MB, free: 13.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.2864, allocations: 349.9 kB / 479.2 MB, free: 13.26 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.2866, allocations: 195 kB / 479.4 MB, free: 13.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.2869, allocations: 438.2 kB / 479.8 MB, free: 12.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.2876, allocations: 0.7327 MB / 480.6 MB, free: 11.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.2876, allocations: 4 kB / 480.6 MB, free: 11.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002028/0.2896, allocations: 1.265 MB / 481.8 MB, free: 10.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2896, allocations: 8.625 kB / 481.9 MB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2896, allocations: 4 kB / 481.9 MB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/0.2918, allocations: 0.8753 MB / 482.7 MB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.2924, allocations: 207.7 kB / 482.9 MB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.298, allocations: 6.999 MB / 489.9 MB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.2987, allocations: 51.98 kB / 490 MB, free: 1.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.2988, allocations: 39.95 kB / 490 MB, free: 1.883 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.000325/0.2991, allocations: 180.4 kB / 490.2 MB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.2993, allocations: 119.9 kB / 490.3 MB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.3012, allocations: 1.25 MB / 491.6 MB, free: 316 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3012, allocations: 11.94 kB / 491.6 MB, free: 304 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.3012, allocations: 8 kB / 491.6 MB, free: 296 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3012, allocations: 7.984 kB / 491.6 MB, free: 288 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.304, allocations: 1.968 MB / 493.6 MB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.304, allocations: 0 / 493.6 MB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.3045, allocations: 139.9 kB / 493.7 MB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.3048, allocations: 246.9 kB / 493.9 MB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/0.3069, allocations: 0.8597 MB / 494.8 MB, free: 13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.3069, allocations: 31.95 kB / 494.8 MB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005378/0.3123, allocations: 7.003 MB / 0.4901 GB, free: 5.586 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3123, allocations: 0 / 0.4901 GB, free: 5.586 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.3142, allocations: 1.262 MB / 0.4913 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.3143, allocations: 19.98 kB / 0.4913 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.3148, allocations: 39.98 kB / 0.4914 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.315, allocations: 84.83 kB / 0.4914 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.315, allocations: 27.91 kB / 0.4915 GB, free: 4.105 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004584/0.3155, allocations: 463.7 kB / 0.4919 GB, free: 3.648 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3155, allocations: 0 / 0.4919 GB, free: 3.648 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001009/0.3165, allocations: 496 kB / 0.4924 GB, free: 3.164 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.0001978/0.3167, allocations: 103.1 kB / 0.4925 GB, free: 3.055 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.3184, allocations: 1.479 MB / 0.4939 GB, free: 1.531 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.404e-05/0.3184, allocations: 23.12 kB / 0.4939 GB, free: 1.508 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.3196, allocations: 1.168 MB / 0.4951 GB, free: 296 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.322, allocations: 4.753 MB / 0.4997 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007982/0.33, allocations: 2.581 MB / 0.5023 GB, free: 7.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.3303, allocations: 396.1 kB / 0.5026 GB, free: 7.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007759/0.3311, allocations: 287 kB / 0.5029 GB, free: 7.297 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007532/0.3319, allocations: 410.9 kB / 0.5033 GB, free: 6.891 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3319, allocations: 0 / 0.5033 GB, free: 6.891 MB / 490.7 MB Notification: Performance of Templates: time 0.03876/0.3706, allocations: 36.79 MB / 0.5392 GB, free: 2.961 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.003342212177813]