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.0008419/0.0008419, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0008552/0.0008552, allocations: 173 kB / 23.03 MB, free: 1.543 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.9328/0.9328, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.005455/0.005455, allocations: 242 kB / 260.2 MB, free: 12.81 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.6953/0.6953, allocations: 138.4 MB / 455.2 MB, free: 30 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 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.343e-06/1.343e-06, allocations: 0 / 0.5551 GB, free: 172 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.674e-05, allocations: 2.312 kB / 0.5551 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.00993/0.009946, allocations: 9.851 MB / 0.5647 GB, free: 6.266 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00783/0.01778, allocations: 6.011 MB / 0.5706 GB, free: 240 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.01855, allocations: 83.25 kB / 0.5707 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.01975, allocations: 377.1 kB / 0.571 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.02246, allocations: 1.43 MB / 0.5724 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.02336, allocations: 0.6588 MB / 0.5731 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002164/0.02552, allocations: 2.613 MB / 0.5756 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.02679, allocations: 1.188 MB / 0.5768 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.02831, allocations: 1.575 MB / 0.5783 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.02934, allocations: 1.021 MB / 0.5793 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.02953, allocations: 167.9 kB / 0.5795 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004225/0.02995, allocations: 311.7 kB / 0.5798 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.03033, allocations: 0.6582 MB / 0.5804 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.03081, allocations: 0.6391 MB / 0.581 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.03195, allocations: 1.541 MB / 0.5825 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.03195, allocations: 0 / 0.5825 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.03195, allocations: 0 / 0.5825 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.03198, allocations: 0 / 0.5825 GB, free: 3.926 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.002087/0.03406, allocations: 2.147 MB / 0.5846 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.0341, allocations: 9.938 kB / 0.5847 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004317/0.03841, allocations: 1.753 MB / 0.5864 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.03969, allocations: 1.173 MB / 0.5875 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.03974, allocations: 90.67 kB / 0.5876 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.03991, allocations: 124.3 kB / 0.5877 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.04222, allocations: 1.957 MB / 0.5896 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.04226, allocations: 11.89 kB / 0.5896 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.04237, allocations: 55.98 kB / 0.5897 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003481/0.04272, allocations: 182.1 kB / 0.5899 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.04407, allocations: 0.8407 MB / 0.5907 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006705/0.05078, allocations: 8.419 MB / 0.5989 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.05223, allocations: 0.8051 MB / 0.5997 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.05271, allocations: 375.6 kB / 0.6001 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.05276, allocations: 13 kB / 0.6001 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.05279, allocations: 46.39 kB / 0.6001 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 2.224e-06/0.05279, allocations: 3.938 kB / 0.6001 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.00887/0.06166, allocations: 5.001 MB / 0.605 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.0617, allocations: 64.72 kB / 0.6051 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/0.06242, allocations: 0.9524 MB / 0.606 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.893e-05/0.06251, allocations: 45.7 kB / 0.606 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.06287, allocations: 0.7893 MB / 0.6068 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.06316, allocations: 471.9 kB / 0.6073 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.06348, allocations: 257.2 kB / 0.6075 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.06361, allocations: 0.5316 MB / 0.608 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.0642, allocations: 427.8 kB / 0.6084 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.06493, allocations: 0.7649 MB / 0.6092 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.06626, allocations: 1.227 MB / 0.6104 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.06626, allocations: 4 kB / 0.6104 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003809/0.07007, allocations: 2.384 MB / 0.6127 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.07009, allocations: 8 kB / 0.6127 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.0701, allocations: 8 kB / 0.6127 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/0.07379, allocations: 1.433 MB / 0.6141 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/0.07452, allocations: 323.4 kB / 0.6144 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.08869, allocations: 26.53 MB / 0.6403 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009344/0.08962, allocations: 195.7 kB / 0.6405 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/0.08972, allocations: 63.97 kB / 0.6406 GB, free: 5.848 MB / 0.5573 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.0004039/0.09012, allocations: 232.4 kB / 0.6408 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.09036, allocations: 191.1 kB / 0.641 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/0.09408, allocations: 2.274 MB / 0.6432 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.09408, allocations: 12 kB / 0.6432 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.09409, allocations: 16 kB / 0.6432 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.0941, allocations: 4.094 kB / 0.6432 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1999/0.294, allocations: 3.759 MB / 0.6469 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.294, allocations: 8.016 kB / 0.6469 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008315/0.2949, allocations: 267.4 kB / 0.6472 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003905/0.2988, allocations: 1.381 MB / 0.6485 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.2989, allocations: 40.91 kB / 0.6486 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.3095, allocations: 25.72 MB / 0.6737 GB, free: 96.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3095, allocations: 3.375 kB / 0.6737 GB, free: 96.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.3132, allocations: 2.277 MB / 0.6759 GB, free: 95.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/0.3137, allocations: 359.1 kB / 0.6762 GB, free: 95.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.3138, allocations: 30.62 kB / 0.6763 GB, free: 95.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.3146, allocations: 192.8 kB / 0.6765 GB, free: 95.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.3149, allocations: 137.7 kB / 0.6766 GB, free: 95.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/0.315, allocations: 47.16 kB / 0.6766 GB, free: 95.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004999/0.3155, allocations: 0.5849 MB / 0.6772 GB, free: 95.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.3155, allocations: 2.531 kB / 0.6772 GB, free: 95.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001415/0.3169, allocations: 0.5859 MB / 0.6778 GB, free: 95.43 MB / 0.5573 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.0002248/0.3171, allocations: 138.9 kB / 0.6779 GB, free: 95.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.3205, allocations: 3.911 MB / 0.6817 GB, free: 93.03 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3205, allocations: 4.109 kB / 0.6817 GB, free: 93.03 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.3226, allocations: 3.272 MB / 0.6849 GB, free: 90.71 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.3238, allocations: 0.5247 MB / 0.6854 GB, free: 90.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.3273, allocations: 3.03 MB / 0.6884 GB, free: 89.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3276, allocations: 453.9 kB / 0.6888 GB, free: 89.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006896/0.3283, allocations: 346.4 kB / 0.6892 GB, free: 89.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.3286, allocations: 107.7 kB / 0.6893 GB, free: 89.12 MB / 0.5573 GB Notification: Performance of SimCode: time 1.302e-06/0.3286, allocations: 0 / 0.6893 GB, free: 89.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.04117/0.3697, allocations: 43.83 MB / 0.7321 GB, free: 65.33 MB / 0.5573 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.5647571459412575]