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.00143/0.00143, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001484/0.001484, allocations: 218.6 kB / 23.01 MB, free: 5.125 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.002546/0.002546, allocations: 282.3 kB / 313.5 MB, free: 2.801 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.26/1.26, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.002966/0.002966, allocations: 97.72 kB / 0.7408 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1827, allocations: 95.38 MB / 0.834 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009313/0.192, allocations: 6.416 MB / 0.8402 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.1977, allocations: 3.328 MB / 0.8435 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.1981, allocations: 43.62 kB / 0.8435 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.2006, allocations: 0.9712 MB / 0.8445 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.2017, allocations: 493.5 kB / 0.8449 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2029, allocations: 0.5043 MB / 0.8454 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.2042, allocations: 1.104 MB / 0.8465 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008519/0.205, allocations: 0.51 MB / 0.847 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006697/0.2057, allocations: 462.2 kB / 0.8475 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007163/0.2064, allocations: 0.4981 MB / 0.8479 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.551e-05/0.2065, allocations: 56 kB / 0.848 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.2074, allocations: 0.4912 MB / 0.8485 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.2077, allocations: 299 kB / 0.8488 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.2081, allocations: 398 kB / 0.8491 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.2095, allocations: 1.183 MB / 0.8503 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2095, allocations: 0 / 0.8503 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2095, allocations: 0 / 0.8503 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2095, allocations: 0 / 0.8503 GB, free: 7.348 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.001645/0.2112, allocations: 1.011 MB / 0.8513 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2112, allocations: 12.75 kB / 0.8513 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.2126, allocations: 216.2 kB / 0.8515 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009844/0.2136, allocations: 0.5399 MB / 0.852 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.2137, allocations: 45.67 kB / 0.8521 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.2138, allocations: 60.33 kB / 0.8521 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.2153, allocations: 1.034 MB / 0.8531 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.2153, allocations: 7.938 kB / 0.8531 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.2154, allocations: 31.98 kB / 0.8532 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.741e-05/0.2155, allocations: 65.28 kB / 0.8532 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2166, allocations: 0.6918 MB / 0.8539 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006029/0.2227, allocations: 5.666 MB / 0.8594 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.2234, allocations: 413.2 kB / 0.8598 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/0.2243, allocations: 384.6 kB / 0.8602 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.2243, allocations: 11.98 kB / 0.8602 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.2243, allocations: 38.56 kB / 0.8603 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.873e-06/0.2243, allocations: 3.938 kB / 0.8603 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004292/0.2286, allocations: 1.71 MB / 0.8619 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2287, allocations: 55.41 kB / 0.862 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.2292, allocations: 466.8 kB / 0.8624 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.2292, allocations: 33.7 kB / 0.8625 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.2295, allocations: 396.1 kB / 0.8628 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.2297, allocations: 154.7 kB / 0.863 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.23, allocations: 110.2 kB / 0.8631 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.2302, allocations: 366.8 kB / 0.8634 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.2306, allocations: 241.2 kB / 0.8637 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.2311, allocations: 457 kB / 0.8641 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.2321, allocations: 0.748 MB / 0.8648 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2322, allocations: 7.938 kB / 0.8648 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002075/0.2342, allocations: 1.031 MB / 0.8658 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.2343, allocations: 11.94 kB / 0.8659 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2343, allocations: 8 kB / 0.8659 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.2353, allocations: 323.5 kB / 0.8662 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2356, allocations: 99.81 kB / 0.8663 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007925/0.2436, allocations: 7.068 MB / 0.8732 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.244, allocations: 36.02 kB / 0.8732 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.244, allocations: 32 kB / 0.8732 GB, free: 14.48 MB / 0.6231 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.0003891/0.2444, allocations: 242.2 kB / 0.8735 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2445, allocations: 63.84 kB / 0.8735 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.2464, allocations: 0.8809 MB / 0.8744 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2464, allocations: 4 kB / 0.8744 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2464, allocations: 11.88 kB / 0.8744 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2465, allocations: 7.984 kB / 0.8744 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.2495, allocations: 1.629 MB / 0.876 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2495, allocations: 4 kB / 0.876 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.2497, allocations: 43.91 kB / 0.876 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.2507, allocations: 307.4 kB / 0.8763 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.2508, allocations: 16 kB / 0.8764 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008037/0.2588, allocations: 7.049 MB / 0.8832 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.2588, allocations: 3.938 kB / 0.8832 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.2607, allocations: 0.9845 MB / 0.8842 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.261, allocations: 99.58 kB / 0.8843 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.261, allocations: 11.98 kB / 0.8843 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.2613, allocations: 20.27 kB / 0.8843 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2614, allocations: 47.8 kB / 0.8844 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2615, allocations: 8 kB / 0.8844 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004127/0.2619, allocations: 322.8 kB / 0.8847 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2619, allocations: 4 kB / 0.8847 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008516/0.2627, allocations: 192 kB / 0.8849 GB, free: 1.934 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.0001863/0.2629, allocations: 110.4 kB / 0.885 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.2651, allocations: 1.16 MB / 0.8861 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2651, allocations: 0 / 0.8861 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.2664, allocations: 0.8425 MB / 0.8869 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009594/0.2673, allocations: 208.4 kB / 0.8871 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.2699, allocations: 1.319 MB / 0.8884 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.2706, allocations: 0.9881 MB / 0.8894 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2707, allocations: 43.42 kB / 0.8894 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.2707, allocations: 0 / 0.8894 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.02388/0.2946, allocations: 18.73 MB / 0.9077 GB, free: 10.4 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.685604874044657] Failed to read output from testmodel.py, exit status != 0: 0.30214899801649153 0.31791334199999993 0.105208644 Calling exit ...