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.001289/0.001289, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009336/0.0009336, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.8942/0.8942, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.001719/0.001719, allocations: 243.5 kB / 261.3 MB, free: 12.66 MB / 250.7 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 0.7212/0.7212, allocations: 138.4 MB / 456.3 MB, free: 1.355 MB / 362.7 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.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.232e-06/1.232e-06, allocations: 0 / 0.5564 GB, free: 192 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.972e-05, allocations: 6.25 kB / 0.5564 GB, free: 184 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007917/0.007936, allocations: 9.596 MB / 0.5658 GB, free: 6.539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007062/0.015, allocations: 5.921 MB / 0.5715 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.01606, allocations: 79.31 kB / 0.5716 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.01711, allocations: 381 kB / 0.572 GB, free: 148 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.01983, allocations: 1.427 MB / 0.5734 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.02088, allocations: 0.6511 MB / 0.574 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.02373, allocations: 2.611 MB / 0.5766 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.02511, allocations: 1.195 MB / 0.5777 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.02687, allocations: 1.579 MB / 0.5793 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.02807, allocations: 1.017 MB / 0.5803 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.02833, allocations: 164 kB / 0.5804 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005394/0.02887, allocations: 319.6 kB / 0.5807 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.02928, allocations: 0.6582 MB / 0.5814 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000866/0.03014, allocations: 0.6352 MB / 0.582 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.03147, allocations: 1.538 MB / 0.5835 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.03148, allocations: 0 / 0.5835 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.03148, allocations: 0 / 0.5835 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.598e-05/0.03153, allocations: 0 / 0.5835 GB, free: 4.293 MB / 0.4948 GB 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.002183/0.03371, allocations: 2.143 MB / 0.5856 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.03374, allocations: 16.69 kB / 0.5856 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.03719, allocations: 0.8851 MB / 0.5865 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.03846, allocations: 1.134 MB / 0.5876 GB, free: 16 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.03853, allocations: 90.78 kB / 0.5876 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.03872, allocations: 120.4 kB / 0.5878 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.04086, allocations: 1.702 MB / 0.5894 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.04089, allocations: 15.83 kB / 0.5894 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.041, allocations: 51.98 kB / 0.5895 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003095/0.04131, allocations: 138.2 kB / 0.5896 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008512/0.04216, allocations: 0.6711 MB / 0.5903 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.04877, allocations: 7.801 MB / 0.5979 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.04992, allocations: 0.5865 MB / 0.5985 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.0503, allocations: 310.4 kB / 0.5988 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.05034, allocations: 13 kB / 0.5988 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.05037, allocations: 46.39 kB / 0.5988 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 2.234e-06/0.05037, allocations: 4 kB / 0.5988 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.1847/0.2351, allocations: 4.147 MB / 0.6029 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2351, allocations: 65.44 kB / 0.6029 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008569/0.236, allocations: 0.9294 MB / 0.6038 GB, free: 84.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.2362, allocations: 49.11 kB / 0.6039 GB, free: 84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.2366, allocations: 0.7932 MB / 0.6047 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.2369, allocations: 482.9 kB / 0.6051 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.2373, allocations: 264.1 kB / 0.6054 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.2374, allocations: 0.5425 MB / 0.6059 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.238, allocations: 316.4 kB / 0.6062 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.2386, allocations: 0.6792 MB / 0.6069 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.2398, allocations: 1.062 MB / 0.6079 GB, free: 82.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.2399, allocations: 3.031 kB / 0.6079 GB, free: 82.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004413/0.2443, allocations: 2.105 MB / 0.61 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.2443, allocations: 16.97 kB / 0.61 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.2443, allocations: 5.031 kB / 0.61 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004719/0.249, allocations: 1.346 MB / 0.6113 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.2499, allocations: 204.8 kB / 0.6115 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.2634, allocations: 25.91 MB / 0.6368 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.2647, allocations: 55.53 kB / 0.6369 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.2648, allocations: 53.22 kB / 0.6369 GB, free: 59.1 MB / 0.5105 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004934/0.2653, allocations: 243.2 kB / 0.6371 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.2657, allocations: 195 kB / 0.6373 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.2704, allocations: 2.037 MB / 0.6393 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.2704, allocations: 16.53 kB / 0.6393 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-05/0.2705, allocations: 13.34 kB / 0.6393 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.2705, allocations: 6.516 kB / 0.6393 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006695/0.2772, allocations: 3.259 MB / 0.6425 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.2772, allocations: 2.188 kB / 0.6425 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/0.2779, allocations: 148.8 kB / 0.6427 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/0.2817, allocations: 1.281 MB / 0.6439 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.2818, allocations: 42.66 kB / 0.644 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009874/0.2916, allocations: 25.13 MB / 0.6685 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2916, allocations: 2.25 kB / 0.6685 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/0.2951, allocations: 2.042 MB / 0.6705 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.2956, allocations: 327 kB / 0.6708 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.2957, allocations: 24.75 kB / 0.6708 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.2963, allocations: 48.14 kB / 0.6709 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003727/0.2967, allocations: 143.2 kB / 0.671 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-05/0.2968, allocations: 40.36 kB / 0.6711 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004359/0.2972, allocations: 0.5345 MB / 0.6716 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2972, allocations: 0 / 0.6716 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001674/0.2989, allocations: 0.5849 MB / 0.6722 GB, free: 32.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 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%), (2,4,100.0%), (3,9,100.0%), (2,4,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.000221/0.2991, allocations: 143 kB / 0.6723 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003367/0.3025, allocations: 3.714 MB / 0.6759 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3025, allocations: 0 / 0.6759 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.3049, allocations: 3.166 MB / 0.679 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.3063, allocations: 0.5338 MB / 0.6795 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.3099, allocations: 2.932 MB / 0.6824 GB, free: 26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.3103, allocations: 458.2 kB / 0.6828 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007392/0.311, allocations: 290.4 kB / 0.6831 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/0.3117, allocations: 489.5 kB / 0.6836 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.3117, allocations: 0 / 0.6836 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.04223/0.354, allocations: 45.01 MB / 0.7275 GB, free: 0.5703 MB / 0.5261 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.614149110857397]