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.001436/0.001436, allocations: 110.1 kB / 19.58 MB, free: 2.336 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.001518/0.001518, allocations: 188.4 kB / 22.85 MB, free: 5.641 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.305/1.305, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] 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.002345/0.002345, allocations: 293.7 kB / 307 MB, free: 8.355 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.111/1.111, allocations: 180.8 MB / 0.5304 GB, free: 14.57 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.002629/0.002629, allocations: 105.8 kB / 0.7311 GB, free: 38.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1373, allocations: 94.21 MB / 0.8231 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01747/0.1548, allocations: 15.2 MB / 0.8379 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.015/0.1698, allocations: 10.65 MB / 0.8483 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.1709, allocations: 83.31 kB / 0.8484 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.1751, allocations: 1.765 MB / 0.8501 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.1795, allocations: 1.858 MB / 0.8519 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.1813, allocations: 0.7675 MB / 0.8527 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003378/0.1846, allocations: 2.77 MB / 0.8554 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.186, allocations: 0.9978 MB / 0.8564 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.188, allocations: 1.559 MB / 0.8579 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.1897, allocations: 1.234 MB / 0.8591 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.1899, allocations: 164 kB / 0.8593 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.1911, allocations: 0.7252 MB / 0.86 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005658/0.1917, allocations: 0.6191 MB / 0.8606 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008779/0.1926, allocations: 0.9483 MB / 0.8615 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.1954, allocations: 2.778 MB / 0.8642 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1954, allocations: 8 kB / 0.8642 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1954, allocations: 0 / 0.8642 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.1955, allocations: 0 / 0.8642 GB, free: 7.574 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.00344/0.1989, allocations: 2.147 MB / 0.8663 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1989, allocations: 8.031 kB / 0.8663 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.2094, allocations: 2.121 MB / 0.8684 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.2121, allocations: 1.232 MB / 0.8696 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/0.2122, allocations: 90.67 kB / 0.8697 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.2124, allocations: 120 kB / 0.8698 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005295/0.2177, allocations: 2.679 MB / 0.8724 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.2178, allocations: 3.938 kB / 0.8724 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.2179, allocations: 55.98 kB / 0.8725 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005689/0.2185, allocations: 190.1 kB / 0.8727 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006773/0.2253, allocations: 2.795 MB / 0.8754 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.2392, allocations: 10.35 MB / 0.8855 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005681/0.2449, allocations: 2.187 MB / 0.8876 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002714/0.2476, allocations: 1.198 MB / 0.8888 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.012e-05/0.2477, allocations: 16.94 kB / 0.8888 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.2477, allocations: 47.56 kB / 0.8889 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.285e-06/0.2477, allocations: 0 / 0.8889 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.0548/0.3025, allocations: 16 MB / 0.9045 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.3026, allocations: 68.72 kB / 0.9045 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.3043, allocations: 1.176 MB / 0.9057 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.3044, allocations: 53.7 kB / 0.9057 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006017/0.305, allocations: 0.749 MB / 0.9065 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.3056, allocations: 0.5383 MB / 0.907 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006199/0.3062, allocations: 291.5 kB / 0.9073 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3064, allocations: 309.1 kB / 0.9076 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/0.3098, allocations: 1.51 MB / 0.909 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003599/0.3134, allocations: 1.776 MB / 0.9108 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00681/0.3202, allocations: 3.369 MB / 0.9141 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.3202, allocations: 8 kB / 0.9141 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01288/0.3331, allocations: 5.203 MB / 0.9192 GB, free: 14.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.3331, allocations: 8 kB / 0.9192 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.3331, allocations: 8 kB / 0.9192 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006731/0.3399, allocations: 1.884 MB / 0.921 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.3417, allocations: 423.2 kB / 0.9214 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03113/0.3728, allocations: 23.32 MB / 0.9442 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.3754, allocations: 303.6 kB / 0.9445 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.3757, allocations: 71.89 kB / 0.9445 GB, free: 3.211 MB / 0.6856 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.001045/0.3767, allocations: 470.1 kB / 0.945 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.3772, allocations: 186.8 kB / 0.9452 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.3905, allocations: 5.249 MB / 0.9503 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.3905, allocations: 16 kB / 0.9503 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-05/0.3905, allocations: 20 kB / 0.9503 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.3906, allocations: 7.969 kB / 0.9503 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.4068, allocations: 7.312 MB / 0.9575 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4068, allocations: 4.344 kB / 0.9575 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.4084, allocations: 355.4 kB / 0.9578 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005886/0.4142, allocations: 1.704 MB / 0.9595 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.4144, allocations: 43.97 kB / 0.9595 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02865/0.443, allocations: 22.52 MB / 0.9815 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.443, allocations: 4.062 kB / 0.9815 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.4549, allocations: 4.833 MB / 0.9862 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.4559, allocations: 422.6 kB / 0.9866 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/0.4562, allocations: 28 kB / 0.9867 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/0.4583, allocations: 319.9 kB / 0.987 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000521/0.4588, allocations: 160.9 kB / 0.9871 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.4589, allocations: 51.97 kB / 0.9872 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001191/0.4601, allocations: 0.7899 MB / 0.988 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.4601, allocations: 4 kB / 0.988 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002113/0.4622, allocations: 0.6562 MB / 0.9886 GB, free: 4.902 MB / 0.7325 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.0003121/0.4625, allocations: 143.1 kB / 0.9887 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.473, allocations: 4.925 MB / 0.9935 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.473, allocations: 4 kB / 0.9935 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006624/0.4796, allocations: 3.261 MB / 0.9967 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.4821, allocations: 0.5582 MB / 0.9973 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.4907, allocations: 4.365 MB / 1.002 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.4922, allocations: 1.564 MB / 1.003 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001402/0.4937, allocations: 390.3 kB / 1.003 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.494, allocations: 107.4 kB / 1.004 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/0.494, allocations: 0 / 1.004 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of Templates: time 0.3586/0.8526, allocations: 47.13 MB / 1.05 GB, free: 149.5 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.133911256998545] Failed to read output from testmodel.py, exit status != 0: 0.859338750000461 0.867913345 0.670513464 Calling exit ...