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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 118 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003229/0.003229, allocations: 283.5 kB / 303.6 MB, free: 3.676 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 180.9 MB / 0.5268 GB, free: 2.711 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002868/0.002868, allocations: 100.2 kB / 0.7259 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.583/0.5859, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01514/0.601, allocations: 14.97 MB / 0.8325 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.6179, allocations: 10.47 MB / 0.8427 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.6194, allocations: 53.88 kB / 0.8428 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005047/0.6245, allocations: 1.713 MB / 0.8444 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006313/0.6308, allocations: 1.852 MB / 0.8462 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.6333, allocations: 0.7589 MB / 0.847 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005204/0.6385, allocations: 2.756 MB / 0.8497 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.6404, allocations: 1.126 MB / 0.8508 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.6434, allocations: 1.535 MB / 0.8523 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/0.6459, allocations: 1.223 MB / 0.8535 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003419/0.6463, allocations: 161.5 kB / 0.8536 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.6483, allocations: 0.8033 MB / 0.8544 GB, free: 452 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007558/0.649, allocations: 0.6191 MB / 0.855 GB, free: 148 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.6504, allocations: 0.9523 MB / 0.8559 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.6545, allocations: 2.785 MB / 0.8587 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6545, allocations: 0 / 0.8587 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6545, allocations: 0 / 0.8587 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.302e-05/0.6546, allocations: 1.312 kB / 0.8587 GB, free: 13.85 MB / 0.6075 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.004505/0.6591, allocations: 2.235 MB / 0.8608 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6591, allocations: 9.406 kB / 0.8608 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.6719, allocations: 2.112 MB / 0.8629 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/0.6752, allocations: 1.315 MB / 0.8642 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.6752, allocations: 89.02 kB / 0.8643 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.6755, allocations: 128.3 kB / 0.8644 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/0.682, allocations: 2.668 MB / 0.867 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/0.682, allocations: 11.42 kB / 0.867 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.6822, allocations: 54.39 kB / 0.8671 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007142/0.6829, allocations: 190.2 kB / 0.8673 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008453/0.6914, allocations: 2.795 MB / 0.87 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.7087, allocations: 10.49 MB / 0.8802 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007068/0.7158, allocations: 2.256 MB / 0.8824 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/0.7191, allocations: 1.208 MB / 0.8836 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.981e-05/0.7192, allocations: 9.469 kB / 0.8836 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.7193, allocations: 44.53 kB / 0.8837 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 2.455e-06/0.7193, allocations: 0 / 0.8837 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=153): time 0.0661/0.7854, allocations: 16.45 MB / 0.8997 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.7854, allocations: 68.72 kB / 0.8998 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.7874, allocations: 1.172 MB / 0.9009 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.7875, allocations: 49.7 kB / 0.901 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.7882, allocations: 0.7645 MB / 0.9017 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000633/0.7889, allocations: 0.5383 MB / 0.9022 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006566/0.7895, allocations: 291.5 kB / 0.9025 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7896, allocations: 305.1 kB / 0.9028 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/0.7935, allocations: 1.507 MB / 0.9043 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004094/0.7976, allocations: 1.784 MB / 0.906 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008041/0.8056, allocations: 3.362 MB / 0.9093 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.8056, allocations: 7.938 kB / 0.9093 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01484/0.8205, allocations: 5.219 MB / 0.9144 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.8205, allocations: 11.94 kB / 0.9144 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.8205, allocations: 4 kB / 0.9144 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007828/0.8284, allocations: 1.876 MB / 0.9163 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.8307, allocations: 415.3 kB / 0.9167 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03471/0.8654, allocations: 24.16 MB / 0.9402 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.8686, allocations: 307.5 kB / 0.9405 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/0.8689, allocations: 67.95 kB / 0.9406 GB, free: 0.9023 MB / 0.67 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.001243/0.8702, allocations: 465.5 kB / 0.9411 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/0.8707, allocations: 182.9 kB / 0.9412 GB, free: 264 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/0.8857, allocations: 5.246 MB / 0.9463 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.8858, allocations: 16.09 kB / 0.9464 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.043e-05/0.8858, allocations: 16 kB / 0.9464 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/0.8859, allocations: 15.95 kB / 0.9464 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/0.9051, allocations: 7.368 MB / 0.9536 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.9051, allocations: 0 / 0.9536 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.907, allocations: 359.7 kB / 0.9539 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006783/0.9138, allocations: 1.706 MB / 0.9556 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/0.9141, allocations: 35.97 kB / 0.9556 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03196/0.946, allocations: 23.33 MB / 0.9784 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.946, allocations: 3.938 kB / 0.9784 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.9602, allocations: 4.83 MB / 0.9831 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.9615, allocations: 499.7 kB / 0.9836 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006389/0.9621, allocations: 39.89 kB / 0.9836 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/0.9647, allocations: 315.5 kB / 0.9839 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/0.9653, allocations: 149 kB / 0.9841 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.9654, allocations: 59.97 kB / 0.9841 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001213/0.9667, allocations: 0.7899 MB / 0.9849 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9667, allocations: 0 / 0.9849 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002383/0.969, allocations: 0.6562 MB / 0.9856 GB, free: 1.449 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.0003297/0.9694, allocations: 139.1 kB / 0.9857 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0125/0.9819, allocations: 4.913 MB / 0.9905 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.9819, allocations: 8 kB / 0.9905 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007966/0.9898, allocations: 3.265 MB / 0.9937 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.9926, allocations: 0.566 MB / 0.9942 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.003, allocations: 4.458 MB / 0.9986 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/1.005, allocations: 1.564 MB / 1 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/1.005, allocations: 131.3 kB / 1 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.005, allocations: 0 / 1 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of Templates: time 0.1028/1.108, allocations: 85.92 MB / 1.084 GB, free: 12.27 MB / 0.8262 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: 16.07189071411267] Failed to read output from testmodel.py, exit status != 0: 1.1174735601525754 1.13065976 0.473159682 Calling exit ...