Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001336/0.001336, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001478/0.001478, allocations: 215.3 kB / 22.99 MB, free: 4.945 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002599/0.002599, allocations: 290 kB / 313.5 MB, free: 2.613 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.256/1.256, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [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.002965/0.002965, allocations: 100.6 kB / 0.7407 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1914, allocations: 95.39 MB / 0.8339 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009853/0.2013, allocations: 5.977 MB / 0.8397 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006429/0.2077, allocations: 3.157 MB / 0.8428 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007587/0.2085, allocations: 39.62 kB / 0.8428 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.2115, allocations: 0.9347 MB / 0.8437 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.2132, allocations: 497.5 kB / 0.8442 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.2147, allocations: 0.5013 MB / 0.8447 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.2164, allocations: 1.097 MB / 0.8458 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009037/0.2173, allocations: 0.5099 MB / 0.8463 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007789/0.2181, allocations: 458.3 kB / 0.8467 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/0.2188, allocations: 478.1 kB / 0.8472 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.2189, allocations: 56 kB / 0.8472 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009664/0.2199, allocations: 446.9 kB / 0.8476 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.2202, allocations: 295.2 kB / 0.8479 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.2206, allocations: 322.5 kB / 0.8482 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.2223, allocations: 1.199 MB / 0.8494 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2223, allocations: 0 / 0.8494 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2223, allocations: 0 / 0.8494 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.2223, allocations: 0 / 0.8494 GB, free: 7.84 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001859/0.2241, allocations: 1.006 MB / 0.8504 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2242, allocations: 12.69 kB / 0.8504 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.2257, allocations: 228.2 kB / 0.8506 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2267, allocations: 0.5244 MB / 0.8511 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.2268, allocations: 45.67 kB / 0.8512 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.2269, allocations: 72.31 kB / 0.8512 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.2285, allocations: 1.138 MB / 0.8524 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.2285, allocations: 4 kB / 0.8524 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.2286, allocations: 27.98 kB / 0.8524 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.2287, allocations: 69.27 kB / 0.8525 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2298, allocations: 0.6956 MB / 0.8531 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005192/0.235, allocations: 4.409 MB / 0.8574 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.2359, allocations: 406.3 kB / 0.8578 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/0.2367, allocations: 392.6 kB / 0.8582 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.2367, allocations: 4 kB / 0.8582 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2368, allocations: 38.56 kB / 0.8582 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.756e-06/0.2368, allocations: 0 / 0.8582 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004437/0.2412, allocations: 1.695 MB / 0.8599 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.2412, allocations: 59.34 kB / 0.8599 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.2418, allocations: 441.8 kB / 0.8604 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.2418, allocations: 41.69 kB / 0.8604 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.2421, allocations: 396 kB / 0.8608 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.2422, allocations: 154.6 kB / 0.8609 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2424, allocations: 118.2 kB / 0.861 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2426, allocations: 362.8 kB / 0.8614 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.2429, allocations: 237.2 kB / 0.8616 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.2435, allocations: 461 kB / 0.8621 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.2445, allocations: 0.7558 MB / 0.8628 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2445, allocations: 4 kB / 0.8628 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001956/0.2465, allocations: 1.027 MB / 0.8638 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.2465, allocations: 8 kB / 0.8638 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.2465, allocations: 8 kB / 0.8638 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.2476, allocations: 319.3 kB / 0.8641 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.2479, allocations: 95.77 kB / 0.8642 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/0.2556, allocations: 6.934 MB / 0.871 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.256, allocations: 36.36 kB / 0.871 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.2561, allocations: 31.94 kB / 0.8711 GB, free: 0.5781 MB / 0.6075 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003868/0.2565, allocations: 254.9 kB / 0.8713 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.2566, allocations: 55.67 kB / 0.8713 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.2583, allocations: 0.8766 MB / 0.8722 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2583, allocations: 4 kB / 0.8722 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2583, allocations: 4 kB / 0.8722 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2583, allocations: 3.984 kB / 0.8722 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.261, allocations: 1.493 MB / 0.8737 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.261, allocations: 0 / 0.8737 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2612, allocations: 44.27 kB / 0.8737 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/0.2621, allocations: 311 kB / 0.874 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.2621, allocations: 12 kB / 0.874 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007701/0.2698, allocations: 6.933 MB / 0.8808 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2698, allocations: 3.938 kB / 0.8808 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.2717, allocations: 0.9768 MB / 0.8818 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.272, allocations: 95.52 kB / 0.8818 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.2721, allocations: 12 kB / 0.8819 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.2724, allocations: 27.91 kB / 0.8819 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.2725, allocations: 43.86 kB / 0.8819 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.2725, allocations: 16 kB / 0.8819 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003537/0.2729, allocations: 282.9 kB / 0.8822 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2729, allocations: 0 / 0.8822 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008591/0.2737, allocations: 196 kB / 0.8824 GB, free: 4.406 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.2739, allocations: 115.1 kB / 0.8825 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.276, allocations: 1.156 MB / 0.8836 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.276, allocations: 0 / 0.8836 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.2773, allocations: 0.8425 MB / 0.8845 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.2782, allocations: 201.3 kB / 0.8846 GB, free: 2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.2805, allocations: 1.311 MB / 0.8859 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.281, allocations: 394.9 kB / 0.8863 GB, free: 236 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2811, allocations: 39.42 kB / 0.8863 GB, free: 196 kB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.2811, allocations: 0 / 0.8863 GB, free: 196 kB / 0.6231 GB Notification: Performance of Templates: time 0.02597/0.3071, allocations: 18.84 MB / 0.9047 GB, free: 13.38 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.83598261885345] Failed to read output from testmodel.py, exit status != 0: 0.31553259305655956 0.33186811199999994 0.10623877300000001 Calling exit ...