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.000899/0.000899, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008827/0.0008827, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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.9627/0.9627, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.001549/0.001549, allocations: 249.5 kB / 260.5 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.6932/0.6932, allocations: 138.4 MB / 455.5 MB, free: 1.418 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.623e-06/1.623e-06, allocations: 0 / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.309e-05, allocations: 6.25 kB / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01052/0.01054, allocations: 9.585 MB / 0.565 GB, free: 6.613 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.01886, allocations: 5.925 MB / 0.5708 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.01934, allocations: 79.31 kB / 0.5708 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.02003, allocations: 373.1 kB / 0.5712 GB, free: 228 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.02162, allocations: 1.432 MB / 0.5726 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.0223, allocations: 0.6511 MB / 0.5732 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.02407, allocations: 2.613 MB / 0.5758 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009164/0.02499, allocations: 1.192 MB / 0.5769 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.02607, allocations: 1.579 MB / 0.5785 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000795/0.02687, allocations: 1.021 MB / 0.5795 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.02702, allocations: 164 kB / 0.5796 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.02739, allocations: 315.6 kB / 0.5799 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.02774, allocations: 0.6582 MB / 0.5806 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005371/0.02828, allocations: 0.6391 MB / 0.5812 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.02989, allocations: 1.541 MB / 0.5827 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.02989, allocations: 0 / 0.5827 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/0.02989, allocations: 3.984 kB / 0.5827 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.0299, allocations: 0 / 0.5827 GB, free: 4.359 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.002373/0.03228, allocations: 2.139 MB / 0.5848 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.03231, allocations: 16.75 kB / 0.5848 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.03677, allocations: 0.889 MB / 0.5857 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.03815, allocations: 1.133 MB / 0.5868 GB, free: 84 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.03822, allocations: 94.78 kB / 0.5869 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.03844, allocations: 116.4 kB / 0.587 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.04053, allocations: 1.698 MB / 0.5887 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.04056, allocations: 23.75 kB / 0.5887 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.04069, allocations: 51.98 kB / 0.5887 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004183/0.04111, allocations: 138.2 kB / 0.5889 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.04218, allocations: 0.6673 MB / 0.5895 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007103/0.04928, allocations: 7.801 MB / 0.5971 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.05057, allocations: 0.5822 MB / 0.5977 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.05102, allocations: 310.4 kB / 0.598 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.05106, allocations: 13 kB / 0.598 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.05109, allocations: 50.39 kB / 0.5981 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 2.284e-06/0.0511, allocations: 0 / 0.5981 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.1841/0.2352, allocations: 4.146 MB / 0.6021 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.2353, allocations: 69.56 kB / 0.6022 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/0.2361, allocations: 0.9289 MB / 0.6031 GB, free: 84.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.2363, allocations: 48.8 kB / 0.6031 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.2366, allocations: 0.7943 MB / 0.6039 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.2369, allocations: 485.8 kB / 0.6044 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.2373, allocations: 262.2 kB / 0.6046 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.2374, allocations: 0.5416 MB / 0.6051 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.2377, allocations: 319.2 kB / 0.6054 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.2381, allocations: 0.6795 MB / 0.6061 GB, free: 82.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.239, allocations: 1.058 MB / 0.6071 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.239, allocations: 3.531 kB / 0.6071 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002939/0.2419, allocations: 2.108 MB / 0.6092 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2419, allocations: 9.125 kB / 0.6092 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2419, allocations: 6.938 kB / 0.6092 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/0.2451, allocations: 1.353 MB / 0.6105 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.2457, allocations: 205.8 kB / 0.6107 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009327/0.255, allocations: 25.92 MB / 0.6361 GB, free: 59.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.2557, allocations: 61.77 kB / 0.6361 GB, free: 59.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/0.2558, allocations: 51.66 kB / 0.6362 GB, free: 59.24 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.000297/0.2561, allocations: 242 kB / 0.6364 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.2563, allocations: 194.9 kB / 0.6366 GB, free: 59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/0.2596, allocations: 2.035 MB / 0.6386 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.2596, allocations: 13.38 kB / 0.6386 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/0.2596, allocations: 13.09 kB / 0.6386 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.2596, allocations: 6.188 kB / 0.6386 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/0.2649, allocations: 3.27 MB / 0.6418 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.2649, allocations: 6.719 kB / 0.6418 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.2654, allocations: 148.5 kB / 0.6419 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/0.2688, allocations: 1.278 MB / 0.6432 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.312e-05/0.2689, allocations: 38.45 kB / 0.6432 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00918/0.2781, allocations: 25.15 MB / 0.6678 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2781, allocations: 6.625 kB / 0.6678 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.281, allocations: 2.044 MB / 0.6698 GB, free: 33.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.2814, allocations: 324.8 kB / 0.6701 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.2815, allocations: 25.22 kB / 0.6701 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.282, allocations: 49.06 kB / 0.6702 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.2823, allocations: 137.1 kB / 0.6703 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.2824, allocations: 44.66 kB / 0.6703 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003725/0.2827, allocations: 0.5405 MB / 0.6709 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2827, allocations: 0 / 0.6709 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001409/0.2842, allocations: 0.586 MB / 0.6714 GB, free: 32.93 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.0001799/0.2843, allocations: 138.3 kB / 0.6716 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.2871, allocations: 3.719 MB / 0.6752 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2871, allocations: 0 / 0.6752 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.2889, allocations: 3.159 MB / 0.6783 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.2899, allocations: 0.5195 MB / 0.6788 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.2928, allocations: 2.949 MB / 0.6817 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.2931, allocations: 454 kB / 0.6821 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005927/0.2936, allocations: 292 kB / 0.6824 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/0.2943, allocations: 490.6 kB / 0.6829 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of SimCode: time 7.52e-07/0.2943, allocations: 0 / 0.6829 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.04701/0.3413, allocations: 44.18 MB / 0.726 GB, free: 1.379 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.4160967618227005]