Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0006385/0.0006385, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008389/0.001477, 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.0006692/0.0006692, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008238/0.001493, 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.8871/0.8871, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/0.988, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.002088/0.002088, allocations: 237.7 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.003773, allocations: 474.8 kB / 244.7 MB, free: 14.18 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.6738/0.6738, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06977/0.7435, allocations: 42.39 MB / 426.5 MB, free: 5.949 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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.168e-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.ACLine): time 0.1851/0.1851, allocations: 9.878 MB / 437.7 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007893/0.193, allocations: 6.14 MB / 443.8 MB, free: 12.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.1941, allocations: 79.38 kB / 443.9 MB, free: 12.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009268/0.195, allocations: 393.3 kB / 444.3 MB, free: 12.21 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.1984, allocations: 1.539 MB / 445.8 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.2, allocations: 0.6559 MB / 446.5 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003407/0.2035, allocations: 2.76 MB / 449.2 MB, free: 9.512 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.2049, allocations: 1.163 MB / 450.4 MB, free: 8.852 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.2072, allocations: 1.771 MB / 452.2 MB, free: 7.824 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.2089, allocations: 1.075 MB / 453.2 MB, free: 7.246 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.2093, allocations: 161.1 kB / 453.4 MB, free: 7.246 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008361/0.2102, allocations: 326.2 kB / 453.7 MB, free: 6.945 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.2107, allocations: 0.5805 MB / 454.3 MB, free: 6.363 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.2113, allocations: 0.5341 MB / 454.8 MB, free: 5.828 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.2129, allocations: 1.453 MB / 456.3 MB, free: 4.371 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.726e-05/0.2129, allocations: 0 / 456.3 MB, free: 4.371 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2129, allocations: 0 / 456.3 MB, free: 4.371 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.563e-05/0.2129, allocations: 0 / 456.3 MB, free: 4.371 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.002943/0.2159, allocations: 2.355 MB / 458.6 MB, free: 1.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2159, allocations: 8.75 kB / 458.6 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.2188, allocations: 0.912 MB / 459.5 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.2202, allocations: 1.047 MB / 460.6 MB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.2202, allocations: 87.41 kB / 460.7 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.2204, allocations: 124.3 kB / 460.8 MB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.2223, allocations: 1.628 MB / 462.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.2223, allocations: 4.875 kB / 462.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.2224, allocations: 55.92 kB / 462.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002757/0.2227, allocations: 139.5 kB / 462.6 MB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.2235, allocations: 0.5522 MB / 463.2 MB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.2292, allocations: 5.737 MB / 468.9 MB, free: 7.344 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.2303, allocations: 0.5515 MB / 469.5 MB, free: 6.801 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.2306, allocations: 259.1 kB / 469.7 MB, free: 6.555 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.2306, allocations: 20.94 kB / 469.7 MB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2307, allocations: 43.56 kB / 469.8 MB, free: 6.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 3.296e-06/0.2307, allocations: 0 / 469.8 MB, free: 6.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.007151/0.2378, allocations: 3.229 MB / 473 MB, free: 3.309 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2379, allocations: 64.41 kB / 473.1 MB, free: 3.234 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.2384, allocations: 0.8518 MB / 473.9 MB, free: 2.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.2385, allocations: 41.7 kB / 474 MB, free: 2.324 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.2387, allocations: 0.5659 MB / 474.5 MB, free: 1.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.2389, allocations: 333 kB / 474.9 MB, free: 1.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.2392, allocations: 192.5 kB / 475 MB, free: 1.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2393, allocations: 345.9 kB / 475.4 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.2395, allocations: 198.4 kB / 475.6 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.2399, allocations: 439.8 kB / 476 MB, free: 176 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.2406, allocations: 0.7112 MB / 476.7 MB, free: 15.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2406, allocations: 4 kB / 476.7 MB, free: 15.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001733/0.2423, allocations: 1.202 MB / 477.9 MB, free: 14.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2423, allocations: 11.94 kB / 477.9 MB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2423, allocations: 11.94 kB / 477.9 MB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/0.2445, allocations: 0.7697 MB / 478.7 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.2452, allocations: 231.6 kB / 478.9 MB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009127/0.2543, allocations: 12.4 MB / 491.3 MB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.2554, allocations: 56.12 kB / 491.4 MB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.2555, allocations: 40.59 kB / 491.4 MB, free: 15.78 MB / 474.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 (90): * Single equations (assignments): 81 * 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 {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005387/0.256, allocations: 170 kB / 491.6 MB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.2563, allocations: 119.9 kB / 491.7 MB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.2589, allocations: 1.179 MB / 492.9 MB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2589, allocations: 8 kB / 492.9 MB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.731e-05/0.2589, allocations: 15.98 kB / 492.9 MB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.2589, allocations: 5.812 kB / 492.9 MB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.2624, allocations: 2.026 MB / 495 MB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2624, allocations: 192 / 495 MB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.2629, allocations: 171.7 kB / 495.1 MB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.2633, allocations: 242.9 kB / 495.4 MB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.2651, allocations: 0.7391 MB / 496.1 MB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.2652, allocations: 31.91 kB / 496.1 MB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006992/0.2722, allocations: 12.06 MB / 0.4963 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2722, allocations: 8.156 kB / 0.4963 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.2739, allocations: 1.188 MB / 0.4975 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.274, allocations: 23.98 kB / 0.4975 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.2745, allocations: 39.98 kB / 0.4975 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.2747, allocations: 88.72 kB / 0.4976 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.2748, allocations: 23.97 kB / 0.4976 GB, free: 12.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003739/0.2751, allocations: 437 kB / 0.498 GB, free: 12.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2751, allocations: 4 kB / 0.498 GB, free: 12.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001277/0.2764, allocations: 468 kB / 0.4985 GB, free: 11.64 MB / 490.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 (56): * Single equations (assignments): 47 * 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 {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/0.2766, allocations: 112.3 kB / 0.4986 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.2786, allocations: 1.951 MB / 0.5005 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.555e-05/0.2786, allocations: 23.31 kB / 0.5005 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.2802, allocations: 1.599 MB / 0.5021 GB, free: 7.715 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.2814, allocations: 0.6332 MB / 0.5027 GB, free: 7.125 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00821/0.2896, allocations: 2.596 MB / 0.5052 GB, free: 4.488 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.29, allocations: 384.2 kB / 0.5056 GB, free: 4.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008482/0.2908, allocations: 288.2 kB / 0.5059 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/0.2916, allocations: 411 kB / 0.5063 GB, free: 3.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.863e-06/0.2916, allocations: 0 / 0.5063 GB, free: 3.41 MB / 490.7 MB Notification: Performance of Templates: time 0.03901/0.3306, allocations: 35.28 MB / 0.5407 GB, free: 0.9531 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.000308566726744]