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.001273/0.001273, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001345/0.001345, allocations: 188.9 kB / 22.23 MB, free: 5.137 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.416/1.416, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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.002478/0.002478, allocations: 285.2 kB / 306.6 MB, free: 8.34 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.179/1.179, allocations: 180.9 MB / 0.53 GB, free: 14.36 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.003904/0.003904, allocations: 97.16 kB / 0.7308 GB, free: 38.54 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1945, allocations: 94.19 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0195/0.214, allocations: 15.31 MB / 0.8378 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01695/0.2309, allocations: 10.72 MB / 0.8483 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.2324, allocations: 79.31 kB / 0.8483 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004902/0.2373, allocations: 1.766 MB / 0.8501 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.2434, allocations: 1.864 MB / 0.8519 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.2459, allocations: 0.7613 MB / 0.8526 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00497/0.2509, allocations: 2.764 MB / 0.8553 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.253, allocations: 1.006 MB / 0.8563 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.2557, allocations: 1.555 MB / 0.8578 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.2583, allocations: 1.226 MB / 0.859 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006097/0.2589, allocations: 160 kB / 0.8592 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.261, allocations: 0.8072 MB / 0.86 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009998/0.262, allocations: 0.623 MB / 0.8606 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.2638, allocations: 0.9484 MB / 0.8615 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004548/0.2684, allocations: 2.786 MB / 0.8642 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2684, allocations: 0 / 0.8642 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2684, allocations: 0 / 0.8642 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001153/0.2685, allocations: 0 / 0.8642 GB, free: 7.297 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.006036/0.2746, allocations: 2.155 MB / 0.8663 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2746, allocations: 12.03 kB / 0.8663 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.287, allocations: 2.121 MB / 0.8684 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.2902, allocations: 1.236 MB / 0.8696 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2903, allocations: 90.67 kB / 0.8697 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.2908, allocations: 112.1 kB / 0.8698 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006452/0.2972, allocations: 2.679 MB / 0.8724 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/0.2973, allocations: 11.94 kB / 0.8724 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.2974, allocations: 47.98 kB / 0.8725 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000718/0.2982, allocations: 194.1 kB / 0.8727 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008004/0.3062, allocations: 2.795 MB / 0.8754 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01686/0.323, allocations: 10.37 MB / 0.8855 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/0.3298, allocations: 2.175 MB / 0.8876 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/0.3331, allocations: 1.21 MB / 0.8888 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.3331, allocations: 9 kB / 0.8888 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.3332, allocations: 43.56 kB / 0.8889 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 3.266e-06/0.3332, allocations: 4 kB / 0.8889 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.0648/0.398, allocations: 15.99 MB / 0.9045 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.398, allocations: 68.72 kB / 0.9046 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.4, allocations: 1.176 MB / 0.9057 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.4002, allocations: 53.7 kB / 0.9058 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/0.4009, allocations: 0.7568 MB / 0.9065 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/0.4015, allocations: 0.5383 MB / 0.907 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006445/0.4021, allocations: 291.4 kB / 0.9073 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4023, allocations: 305.1 kB / 0.9076 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/0.4062, allocations: 1.514 MB / 0.9091 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/0.4103, allocations: 1.776 MB / 0.9108 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008045/0.4184, allocations: 3.365 MB / 0.9141 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.4184, allocations: 0 / 0.9141 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01468/0.4331, allocations: 5.215 MB / 0.9192 GB, free: 13.83 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.4331, allocations: 8 kB / 0.9192 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.4331, allocations: 8 kB / 0.9192 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007378/0.4405, allocations: 1.886 MB / 0.921 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.4427, allocations: 419.2 kB / 0.9214 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0351/0.4778, allocations: 23.33 MB / 0.9442 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.4807, allocations: 303.5 kB / 0.9445 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/0.4809, allocations: 67.97 kB / 0.9446 GB, free: 2.898 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.0009931/0.4819, allocations: 469.4 kB / 0.945 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/0.4823, allocations: 182.9 kB / 0.9452 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.4973, allocations: 5.253 MB / 0.9503 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.4973, allocations: 12 kB / 0.9503 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-05/0.4973, allocations: 20 kB / 0.9504 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.4973, allocations: 7.969 kB / 0.9504 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/0.5161, allocations: 7.32 MB / 0.9575 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.5161, allocations: 4 kB / 0.9575 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/0.518, allocations: 355.7 kB / 0.9579 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006527/0.5245, allocations: 1.708 MB / 0.9595 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/0.5248, allocations: 51.95 kB / 0.9596 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03138/0.5561, allocations: 22.51 MB / 0.9816 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.5562, allocations: 4 kB / 0.9816 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/0.5696, allocations: 4.829 MB / 0.9863 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/0.5712, allocations: 426.6 kB / 0.9867 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.5715, allocations: 32 kB / 0.9867 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/0.5738, allocations: 315.5 kB / 0.987 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006103/0.5744, allocations: 160.9 kB / 0.9872 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.5746, allocations: 55.97 kB / 0.9872 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001272/0.5759, allocations: 0.7899 MB / 0.988 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5759, allocations: 0 / 0.988 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002082/0.5779, allocations: 0.6562 MB / 0.9886 GB, free: 4.582 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.0003259/0.5783, allocations: 145.4 kB / 0.9888 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.5903, allocations: 4.917 MB / 0.9936 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5903, allocations: 0 / 0.9936 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007651/0.5979, allocations: 3.273 MB / 0.9968 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.6006, allocations: 0.5598 MB / 0.9973 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009685/0.6102, allocations: 4.359 MB / 1.002 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.6118, allocations: 1.572 MB / 1.003 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001528/0.6134, allocations: 390.4 kB / 1.003 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.6138, allocations: 107.4 kB / 1.004 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of SimCode: time 1.252e-06/0.6138, allocations: 3.938 kB / 1.004 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.4451/1.059, allocations: 47.1 MB / 1.05 GB, free: 149.3 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.917284342460334] Failed to read output from testmodel.py, exit status != 0: 1.0672976821660995 1.075642577 0.805008344 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbf0d9197b0>