Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.000723/0.000723, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001883, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007668/0.0007668, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009801/0.001747, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9884/0.9884, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07724/1.066, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 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.001224/0.001224, allocations: 236.3 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.002231, allocations: 479.6 kB / 244.8 MB, free: 14.06 MB / 250.7 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 0.667/0.667, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07053/0.7376, allocations: 42.41 MB / 426.7 MB, free: 5.816 MB / 410.7 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.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.077e-06/1.047e-05, allocations: 2.312 kB / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.1732/0.1732, allocations: 4.941 MB / 433 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1757, allocations: 1.795 MB / 434.8 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.1759, allocations: 36.31 kB / 434.8 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.1764, allocations: 234.5 kB / 435.1 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005436/0.1769, allocations: 0.5061 MB / 435.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.1775, allocations: 397.9 kB / 436 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000923/0.1784, allocations: 1.362 MB / 437.3 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005805/0.179, allocations: 0.5478 MB / 437.9 MB, free: 376 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007092/0.1797, allocations: 0.7361 MB / 438.6 MB, free: 124 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.1803, allocations: 0.5208 MB / 439.1 MB, free: 24 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.1804, allocations: 68.06 kB / 439.2 MB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.1807, allocations: 149.8 kB / 439.3 MB, free: 0 / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.181, allocations: 302.5 kB / 439.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.1812, allocations: 257.7 kB / 439.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.1819, allocations: 0.6937 MB / 440.6 MB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.1819, allocations: 1.062 kB / 440.6 MB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1819, allocations: 0 / 440.6 MB, free: 15.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.1819, allocations: 1.469 kB / 440.6 MB, free: 15.69 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001269/0.1832, allocations: 1.224 MB / 441.8 MB, free: 15.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.1832, allocations: 9.781 kB / 441.8 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008204/0.184, allocations: 349.4 kB / 442.2 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.1846, allocations: 0.5082 MB / 442.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.1846, allocations: 51.2 kB / 442.7 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.1847, allocations: 66.34 kB / 442.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/0.1854, allocations: 0.9574 MB / 443.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.1854, allocations: 6.656 kB / 443.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.1855, allocations: 36.22 kB / 443.8 MB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.381e-05/0.1856, allocations: 83.97 kB / 443.9 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.1859, allocations: 258.3 kB / 444.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.1883, allocations: 3.921 MB / 448 MB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.1887, allocations: 293.3 kB / 448.3 MB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1888, allocations: 94.72 kB / 448.4 MB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1888, allocations: 9.891 kB / 448.4 MB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1888, allocations: 45.41 kB / 448.5 MB, free: 10.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 1.733e-06/0.1888, allocations: 0 / 448.5 MB, free: 10.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.001345/0.1902, allocations: 0.8159 MB / 449.3 MB, free: 10.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.1902, allocations: 59.22 kB / 449.3 MB, free: 10.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.1905, allocations: 481.9 kB / 449.8 MB, free: 9.848 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1905, allocations: 32.3 kB / 449.8 MB, free: 9.812 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1906, allocations: 379.1 kB / 450.2 MB, free: 9.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.895e-05/0.1907, allocations: 184.6 kB / 450.4 MB, free: 9.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1909, allocations: 124.3 kB / 450.5 MB, free: 9.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1909, allocations: 377.1 kB / 450.9 MB, free: 8.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.191, allocations: 72.12 kB / 450.9 MB, free: 8.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1912, allocations: 290.6 kB / 451.2 MB, free: 8.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.1916, allocations: 474.5 kB / 451.7 MB, free: 8.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1916, allocations: 2.875 kB / 451.7 MB, free: 8.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006334/0.1922, allocations: 0.568 MB / 452.3 MB, free: 7.828 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1922, allocations: 8 kB / 452.3 MB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1922, allocations: 4.625 kB / 452.3 MB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.1929, allocations: 291.4 kB / 452.6 MB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1931, allocations: 130 kB / 452.7 MB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.1958, allocations: 5.3 MB / 458 MB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.196, allocations: 28.5 kB / 458 MB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.196, allocations: 21.28 kB / 458 MB, free: 1.684 MB / 426.7 MB 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.1962, allocations: 158 kB / 458.2 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.1962, allocations: 59.94 kB / 458.3 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.1967, allocations: 449.5 kB / 458.7 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1967, allocations: 8 kB / 458.7 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1967, allocations: 6.25 kB / 458.7 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1967, allocations: 0 / 458.7 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.1976, allocations: 0.8836 MB / 459.6 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1976, allocations: 0 / 459.6 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1978, allocations: 62.84 kB / 459.6 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1979, allocations: 87.48 kB / 459.7 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005523/0.1984, allocations: 276.4 kB / 460 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1984, allocations: 13.17 kB / 460 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/0.2011, allocations: 5.304 MB / 465.3 MB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2011, allocations: 2.531 kB / 465.3 MB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.2017, allocations: 0.5816 MB / 465.9 MB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.2018, allocations: 13.59 kB / 465.9 MB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2021, allocations: 8 kB / 465.9 MB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.2022, allocations: 55.75 kB / 466 MB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.2022, allocations: 12 kB / 466 MB, free: 9.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.2024, allocations: 208.4 kB / 466.2 MB, free: 9.023 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2024, allocations: 0.75 kB / 466.2 MB, free: 9.023 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007382/0.2031, allocations: 228 kB / 466.4 MB, free: 8.801 MB / 442.7 MB 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.2033, allocations: 95.11 kB / 466.5 MB, free: 8.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.2043, allocations: 0.8971 MB / 467.4 MB, free: 7.762 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-05/0.2044, allocations: 13.91 kB / 467.4 MB, free: 7.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007726/0.2051, allocations: 0.7353 MB / 468.2 MB, free: 6.965 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.2068, allocations: 1.986 MB / 470.1 MB, free: 4.609 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00835/0.2151, allocations: 1.319 MB / 471.5 MB, free: 3.254 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.2153, allocations: 216 kB / 471.7 MB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.2156, allocations: 73.25 kB / 471.7 MB, free: 2.969 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.216, allocations: 213.2 kB / 472 MB, free: 2.758 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.216, allocations: 0.5938 kB / 472 MB, free: 2.758 MB / 442.7 MB Notification: Performance of Templates: time 0.01891/0.2349, allocations: 12.54 MB / 484.5 MB, free: 6.762 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.589126785285771]