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.00162/0.00162, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00187/0.00187, allocations: 214.7 kB / 23.01 MB, free: 5.125 MB / 14.72 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 1.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] 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.002603/0.002603, allocations: 287.7 kB / 313.5 MB, free: 2.781 MB / 238.1 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 1.237/1.237, allocations: 180.6 MB / 0.5377 GB, free: 12.96 MB / 382.1 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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00302/0.00302, allocations: 105 kB / 0.7408 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1785, allocations: 95.38 MB / 0.834 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01988/0.1983, allocations: 15.34 MB / 0.8489 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.2163, allocations: 10.74 MB / 0.8594 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.218, allocations: 83.25 kB / 0.8595 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006256/0.2243, allocations: 1.762 MB / 0.8612 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007673/0.2319, allocations: 1.856 MB / 0.863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.2348, allocations: 0.7699 MB / 0.8638 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006203/0.241, allocations: 2.768 MB / 0.8665 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.244, allocations: 1.207 MB / 0.8677 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.2477, allocations: 1.559 MB / 0.8692 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/0.2509, allocations: 1.234 MB / 0.8704 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006225/0.2515, allocations: 160 kB / 0.8706 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.2541, allocations: 0.7994 MB / 0.8713 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.2553, allocations: 0.6191 MB / 0.8719 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.2576, allocations: 0.9561 MB / 0.8729 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006109/0.2637, allocations: 2.775 MB / 0.8756 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2637, allocations: 0 / 0.8756 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2637, allocations: 0 / 0.8756 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.917e-05/0.2638, allocations: 4 kB / 0.8756 GB, free: 13.32 MB / 0.6231 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.007581/0.2714, allocations: 2.151 MB / 0.8777 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.2714, allocations: 9.344 kB / 0.8777 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.2862, allocations: 2.121 MB / 0.8798 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/0.29, allocations: 1.228 MB / 0.881 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.2901, allocations: 90.67 kB / 0.8811 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005929/0.2907, allocations: 120.1 kB / 0.8812 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007178/0.2979, allocations: 2.679 MB / 0.8838 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.97e-05/0.2979, allocations: 11.89 kB / 0.8838 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/0.2982, allocations: 51.98 kB / 0.8839 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006538/0.2989, allocations: 194.1 kB / 0.884 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008176/0.307, allocations: 2.795 MB / 0.8868 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.3249, allocations: 10.37 MB / 0.8969 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006704/0.3316, allocations: 2.187 MB / 0.899 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/0.3348, allocations: 1.202 MB / 0.9002 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.385e-05/0.3349, allocations: 12.94 kB / 0.9002 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/0.335, allocations: 43.56 kB / 0.9003 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.996e-06/0.335, allocations: 4 kB / 0.9003 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.06169/0.3967, allocations: 16 MB / 0.9159 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.3967, allocations: 64.72 kB / 0.9159 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.3988, allocations: 1.18 MB / 0.9171 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.3991, allocations: 49.7 kB / 0.9171 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007125/0.3998, allocations: 0.7607 MB / 0.9179 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007328/0.4005, allocations: 0.5383 MB / 0.9184 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006992/0.4012, allocations: 287.5 kB / 0.9187 GB, free: 256 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4014, allocations: 309.1 kB / 0.919 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003761/0.4051, allocations: 1.507 MB / 0.9205 GB, free: 14.44 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004013/0.4092, allocations: 1.784 MB / 0.9222 GB, free: 12.56 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007906/0.4171, allocations: 3.373 MB / 0.9255 GB, free: 9.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.4171, allocations: 4 kB / 0.9255 GB, free: 9.086 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01444/0.4315, allocations: 5.207 MB / 0.9306 GB, free: 3.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.4315, allocations: 11.98 kB / 0.9306 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4316, allocations: 4 kB / 0.9306 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007201/0.4388, allocations: 1.881 MB / 0.9324 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.4409, allocations: 419.2 kB / 0.9328 GB, free: 1.512 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03353/0.4744, allocations: 23.33 MB / 0.9556 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.4771, allocations: 307.6 kB / 0.9559 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.4774, allocations: 71.91 kB / 0.956 GB, free: 8.906 MB / 0.7012 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001073/0.4784, allocations: 467.5 kB / 0.9564 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005029/0.4789, allocations: 186.9 kB / 0.9566 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/0.4933, allocations: 5.249 MB / 0.9617 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.4933, allocations: 16 kB / 0.9617 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-05/0.4934, allocations: 16 kB / 0.9618 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.4934, allocations: 7.969 kB / 0.9618 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/0.5116, allocations: 7.332 MB / 0.9689 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.5116, allocations: 7.984 kB / 0.9689 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.5134, allocations: 355.7 kB / 0.9693 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006448/0.5199, allocations: 1.698 MB / 0.9709 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.5201, allocations: 43.97 kB / 0.971 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.396/0.9161, allocations: 22.5 MB / 0.9929 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9161, allocations: 3.062 kB / 0.9929 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.9281, allocations: 4.828 MB / 0.9977 GB, free: 126.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.9294, allocations: 423.1 kB / 0.9981 GB, free: 126 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.9297, allocations: 30.16 kB / 0.9981 GB, free: 126 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/0.9318, allocations: 320 kB / 0.9984 GB, free: 126 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005501/0.9324, allocations: 160.8 kB / 0.9986 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.9325, allocations: 58.58 kB / 0.9986 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001206/0.9337, allocations: 0.7946 MB / 0.9994 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9337, allocations: 0.5938 kB / 0.9994 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002208/0.9359, allocations: 0.6554 MB / 1 GB, free: 125.5 MB / 0.7169 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (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.0002579/0.9362, allocations: 141.4 kB / 1 GB, free: 125.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009607/0.9458, allocations: 4.912 MB / 1.005 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9458, allocations: 2.281 kB / 1.005 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005964/0.9518, allocations: 3.277 MB / 1.008 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.954, allocations: 0.5613 MB / 1.009 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/0.9612, allocations: 4.485 MB / 1.013 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/0.9621, allocations: 1.574 MB / 1.015 GB, free: 118.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/0.9626, allocations: 127.5 kB / 1.015 GB, free: 118.8 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/0.9626, allocations: 3.938 kB / 1.015 GB, free: 118.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.05827/1.021, allocations: 85.93 MB / 1.099 GB, free: 36.77 MB / 0.7169 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.360606900881976] Failed to read output from testmodel.py, exit status != 0: 1.0287223469931632 1.037656574 0.771550232 Calling exit ...