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.001406/0.001406, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001667/0.001667, allocations: 220 kB / 22.24 MB, free: 5.109 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.785 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.002741/0.002741, allocations: 291.5 kB / 312.7 MB, free: 2.594 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.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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.00306/0.00306, allocations: 112.4 kB / 0.74 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.163, allocations: 95.37 MB / 0.8331 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008531/0.1716, allocations: 5.982 MB / 0.839 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005273/0.1768, allocations: 3.153 MB / 0.8421 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.1773, allocations: 47.56 kB / 0.8421 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.1797, allocations: 0.9292 MB / 0.843 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.1809, allocations: 0.4897 MB / 0.8435 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1821, allocations: 0.4971 MB / 0.844 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1835, allocations: 1.108 MB / 0.8451 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007913/0.1843, allocations: 0.5022 MB / 0.8455 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007777/0.1851, allocations: 454.4 kB / 0.846 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007358/0.1858, allocations: 478 kB / 0.8464 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1859, allocations: 64 kB / 0.8465 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008146/0.1867, allocations: 439 kB / 0.8469 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.1871, allocations: 295.2 kB / 0.8472 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.1875, allocations: 338.3 kB / 0.8475 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1891, allocations: 1.183 MB / 0.8487 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1891, allocations: 0 / 0.8487 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.456e-06/0.1891, allocations: 3.984 kB / 0.8487 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.308e-05/0.1891, allocations: 0 / 0.8487 GB, free: 7.797 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.001823/0.1909, allocations: 1.01 MB / 0.8497 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.191, allocations: 8.75 kB / 0.8497 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.1925, allocations: 220.2 kB / 0.8499 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.1935, allocations: 0.5244 MB / 0.8504 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.1936, allocations: 57.67 kB / 0.8504 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1937, allocations: 60.33 kB / 0.8505 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.1954, allocations: 1.142 MB / 0.8516 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.1955, allocations: 7.938 kB / 0.8516 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.55e-05/0.1956, allocations: 31.98 kB / 0.8517 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.583e-05/0.1956, allocations: 69.27 kB / 0.8517 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1968, allocations: 0.6879 MB / 0.8524 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004993/0.2018, allocations: 4.413 MB / 0.8567 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.2026, allocations: 410.3 kB / 0.8571 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/0.2034, allocations: 380.6 kB / 0.8575 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.2034, allocations: 4 kB / 0.8575 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.2034, allocations: 38.56 kB / 0.8575 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.2034, allocations: 0 / 0.8575 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004123/0.2075, allocations: 1.711 MB / 0.8592 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.2076, allocations: 63.34 kB / 0.8592 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.2081, allocations: 433.8 kB / 0.8596 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.2081, allocations: 37.7 kB / 0.8597 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.2084, allocations: 400 kB / 0.8601 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.2086, allocations: 158.6 kB / 0.8602 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.2087, allocations: 114.2 kB / 0.8603 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2089, allocations: 358.8 kB / 0.8607 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.2093, allocations: 245.2 kB / 0.8609 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.2098, allocations: 449 kB / 0.8613 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/0.2108, allocations: 0.7518 MB / 0.8621 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2108, allocations: 8 kB / 0.8621 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001867/0.2127, allocations: 1.031 MB / 0.8631 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2127, allocations: 8 kB / 0.8631 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2127, allocations: 8 kB / 0.8631 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009879/0.2137, allocations: 315.2 kB / 0.8634 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.214, allocations: 103.8 kB / 0.8635 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009822/0.2238, allocations: 6.935 MB / 0.8703 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.2244, allocations: 32.02 kB / 0.8703 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/0.2245, allocations: 28 kB / 0.8703 GB, free: 0.5391 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.0004646/0.2249, allocations: 251 kB / 0.8706 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.2251, allocations: 55.67 kB / 0.8706 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.2276, allocations: 0.8805 MB / 0.8715 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2276, allocations: 4 kB / 0.8715 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.2276, allocations: 4 kB / 0.8715 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.2277, allocations: 7.984 kB / 0.8715 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.2317, allocations: 1.493 MB / 0.8729 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.2317, allocations: 0 / 0.8729 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.2319, allocations: 51.84 kB / 0.873 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.2333, allocations: 307.3 kB / 0.8733 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.2334, allocations: 8 kB / 0.8733 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.2442, allocations: 6.927 MB / 0.8801 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.2442, allocations: 3.938 kB / 0.8801 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.2466, allocations: 0.9768 MB / 0.881 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.247, allocations: 95.58 kB / 0.8811 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2471, allocations: 16 kB / 0.8811 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.2476, allocations: 23.91 kB / 0.8811 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.2477, allocations: 47.86 kB / 0.8812 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.2478, allocations: 8 kB / 0.8812 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004956/0.2483, allocations: 294.9 kB / 0.8815 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2483, allocations: 0 / 0.8815 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001254/0.2495, allocations: 192 kB / 0.8817 GB, free: 4.363 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.0001707/0.2497, allocations: 107.2 kB / 0.8818 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002739/0.2524, allocations: 1.156 MB / 0.8829 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.2525, allocations: 0 / 0.8829 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.2543, allocations: 0.8425 MB / 0.8837 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.2557, allocations: 205.5 kB / 0.8839 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.2588, allocations: 1.244 MB / 0.8851 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.2594, allocations: 398.9 kB / 0.8855 GB, free: 264 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003874/0.2598, allocations: 97 kB / 0.8856 GB, free: 164 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2599, allocations: 31.44 kB / 0.8856 GB, free: 132 kB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.2599, allocations: 4 kB / 0.8856 GB, free: 128 kB / 0.6231 GB Notification: Performance of Templates: time 0.02217/0.2821, allocations: 11.12 MB / 0.8965 GB, free: 5.23 MB / 0.6387 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: 6.413000974804163] Failed to read output from testmodel.py, exit status != 0: 0.2897519860416651 0.30509534 0.11296626500000001 Calling exit ...