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.001633/0.001633, allocations: 77.48 kB / 19.18 MB, free: 2.52 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.001832/0.001832, allocations: 166.7 kB / 22.46 MB, free: 5.375 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.429/1.429, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.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.002494/0.002494, allocations: 241.6 kB / 259.4 MB, free: 480 kB / 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.051/1.051, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.735e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.2592/0.2592, allocations: 13.72 MB / 0.6602 GB, free: 50.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.2704, allocations: 9.827 MB / 0.6698 GB, free: 44.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.2716, allocations: 75.97 kB / 0.6699 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003657/0.2752, allocations: 1.687 MB / 0.6715 GB, free: 43.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.2793, allocations: 1.91 MB / 0.6734 GB, free: 42.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.2809, allocations: 0.7655 MB / 0.6741 GB, free: 41.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003097/0.284, allocations: 2.838 MB / 0.6769 GB, free: 40.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.2854, allocations: 1.193 MB / 0.6781 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.2878, allocations: 2.007 MB / 0.68 GB, free: 39.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.2892, allocations: 0.9843 MB / 0.681 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.2895, allocations: 161.2 kB / 0.6811 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2909, allocations: 0.7365 MB / 0.6819 GB, free: 38.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.2914, allocations: 0.6373 MB / 0.6825 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007236/0.2921, allocations: 0.648 MB / 0.6831 GB, free: 37.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00305/0.2952, allocations: 2.805 MB / 0.6858 GB, free: 37.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2952, allocations: 3.938 kB / 0.6859 GB, free: 37.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2952, allocations: 0 / 0.6859 GB, free: 37.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.986e-05/0.2952, allocations: 0 / 0.6859 GB, free: 37.02 MB / 0.5606 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.003697/0.2989, allocations: 2.134 MB / 0.6879 GB, free: 35.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.299, allocations: 10.95 kB / 0.6879 GB, free: 35.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.3113, allocations: 2.128 MB / 0.69 GB, free: 35.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.314, allocations: 1.237 MB / 0.6912 GB, free: 34.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.3141, allocations: 86.31 kB / 0.6913 GB, free: 34.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.3143, allocations: 115.5 kB / 0.6914 GB, free: 34.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.3202, allocations: 3.071 MB / 0.6944 GB, free: 33.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.3202, allocations: 15.78 kB / 0.6944 GB, free: 33.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.3204, allocations: 58.77 kB / 0.6945 GB, free: 33.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006702/0.3211, allocations: 191 kB / 0.6947 GB, free: 33.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007534/0.3286, allocations: 2.786 MB / 0.6974 GB, free: 32.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.3402, allocations: 8.11 MB / 0.7053 GB, free: 26.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006254/0.3464, allocations: 2.177 MB / 0.7074 GB, free: 25.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/0.3493, allocations: 1.2 MB / 0.7086 GB, free: 24.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.934e-05/0.3494, allocations: 9.906 kB / 0.7086 GB, free: 24.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3494, allocations: 40.47 kB / 0.7087 GB, free: 24.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 3.186e-06/0.3494, allocations: 0 / 0.7087 GB, free: 24.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=153): time 0.05958/0.409, allocations: 16.01 MB / 0.7243 GB, free: 17.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.409, allocations: 67.5 kB / 0.7244 GB, free: 17.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.4102, allocations: 1.032 MB / 0.7254 GB, free: 16.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.4104, allocations: 53.7 kB / 0.7254 GB, free: 16.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.4107, allocations: 0.7557 MB / 0.7262 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.411, allocations: 0.5305 MB / 0.7267 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004994/0.4115, allocations: 287.5 kB / 0.7269 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.4116, allocations: 305.1 kB / 0.7272 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/0.4147, allocations: 1.51 MB / 0.7287 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/0.418, allocations: 1.776 MB / 0.7304 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006509/0.4245, allocations: 3.373 MB / 0.7337 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4245, allocations: 0 / 0.7337 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01244/0.4369, allocations: 5.192 MB / 0.7388 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.437, allocations: 19.92 kB / 0.7388 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.437, allocations: 8 kB / 0.7388 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006417/0.4434, allocations: 1.878 MB / 0.7407 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.4456, allocations: 419.8 kB / 0.7411 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03354/0.4791, allocations: 22.85 MB / 0.7634 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/0.4824, allocations: 303.5 kB / 0.7637 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.4826, allocations: 63.97 kB / 0.7637 GB, free: 7.734 MB / 0.5919 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.001226/0.4839, allocations: 473.4 kB / 0.7642 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.4842, allocations: 167 kB / 0.7643 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.4992, allocations: 5.248 MB / 0.7695 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.4992, allocations: 16 kB / 0.7695 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/0.4993, allocations: 16 kB / 0.7695 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.4993, allocations: 7.969 kB / 0.7695 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.5174, allocations: 6.794 MB / 0.7761 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5175, allocations: 7.938 kB / 0.7762 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/0.5194, allocations: 351.7 kB / 0.7765 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00652/0.5259, allocations: 1.702 MB / 0.7782 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.5261, allocations: 47.91 kB / 0.7782 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03141/0.5575, allocations: 22.01 MB / 0.7997 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.5575, allocations: 4 kB / 0.7997 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.5718, allocations: 4.801 MB / 0.8044 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.5732, allocations: 402.7 kB / 0.8048 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.5735, allocations: 35.94 kB / 0.8048 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/0.5759, allocations: 315.5 kB / 0.8051 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006287/0.5765, allocations: 168.9 kB / 0.8053 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.5767, allocations: 51.97 kB / 0.8053 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001064/0.5777, allocations: 0.684 MB / 0.806 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5777, allocations: 0 / 0.806 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002204/0.5799, allocations: 0.6523 MB / 0.8066 GB, free: 10.77 MB / 0.6387 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.0003539/0.5803, allocations: 154.2 kB / 0.8068 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01252/0.5928, allocations: 4.918 MB / 0.8116 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5928, allocations: 0 / 0.8116 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.007848/0.6006, allocations: 3.261 MB / 0.8148 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.6033, allocations: 0.5208 MB / 0.8153 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.6132, allocations: 4.319 MB / 0.8195 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.6146, allocations: 0.9799 MB / 0.8204 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001399/0.616, allocations: 373.2 kB / 0.8208 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.6164, allocations: 104.4 kB / 0.8209 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/0.6164, allocations: 0 / 0.8209 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.0749/0.6913, allocations: 46.62 MB / 0.8664 GB, free: 13.96 MB / 0.7012 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: 7.2605683617293835] Failed to read output from testmodel.py, exit status != 0: 0.7002962864935398 0.715879384 0.417489992 Calling exit ...