Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.00094/0.00094, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002327, 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.001051/0.001051, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002433, allocations: 475.6 kB / 11.8 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.9417/0.9417, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07776/1.019, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.001251/0.001251, allocations: 230.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.002281, allocations: 467.4 kB / 244.8 MB, free: 14.08 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.6585/0.6585, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07479/0.7333, 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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.867e-05, allocations: 2.312 kB / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.1834/0.1835, allocations: 4.863 MB / 432.9 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.186, allocations: 1.767 MB / 434.7 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.1863, allocations: 38.75 kB / 434.7 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.1867, allocations: 235.3 kB / 434.9 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.1873, allocations: 0.5077 MB / 435.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.1879, allocations: 375.6 kB / 435.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.189, allocations: 1.351 MB / 437.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.1896, allocations: 0.5388 MB / 437.7 MB, free: 408 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008171/0.1905, allocations: 0.7394 MB / 438.5 MB, free: 148 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.1912, allocations: 0.523 MB / 439 MB, free: 48 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.1913, allocations: 67.25 kB / 439 MB, free: 48 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.1917, allocations: 147 kB / 439.2 MB, free: 24 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.1919, allocations: 301.2 kB / 439.5 MB, free: 15.94 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.1922, allocations: 259.5 kB / 439.7 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.1929, allocations: 0.6868 MB / 440.4 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.193, allocations: 3.938 kB / 440.4 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.193, allocations: 0 / 440.4 MB, free: 15.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.193, allocations: 1.188 kB / 440.4 MB, free: 15.71 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.001517/0.1945, allocations: 1.213 MB / 441.6 MB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.1945, allocations: 11 kB / 441.6 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.1954, allocations: 343.6 kB / 442 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.196, allocations: 0.4984 MB / 442.5 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.1962, allocations: 48.5 kB / 442.5 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-05/0.1963, allocations: 73.56 kB / 442.6 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.197, allocations: 0.9539 MB / 443.6 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.197, allocations: 8.438 kB / 443.6 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.1971, allocations: 28.5 kB / 443.6 MB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.1972, allocations: 84.38 kB / 443.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.1976, allocations: 256.7 kB / 443.9 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.2, allocations: 3.924 MB / 447.8 MB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.2004, allocations: 283.2 kB / 448.1 MB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.2005, allocations: 100.9 kB / 448.2 MB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.2005, allocations: 9.312 kB / 448.2 MB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2006, allocations: 37.94 kB / 448.3 MB, free: 10.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 1.934e-06/0.2006, allocations: 0.75 kB / 448.3 MB, free: 10.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.001441/0.202, allocations: 0.8219 MB / 449.1 MB, free: 10.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.202, allocations: 57.12 kB / 449.1 MB, free: 10.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.2023, allocations: 478.7 kB / 449.6 MB, free: 9.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2024, allocations: 31.7 kB / 449.6 MB, free: 9.891 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2025, allocations: 384.7 kB / 450 MB, free: 9.582 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/0.2026, allocations: 179.8 kB / 450.2 MB, free: 9.438 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2027, allocations: 116.6 kB / 450.3 MB, free: 9.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2028, allocations: 379.2 kB / 450.7 MB, free: 9.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2029, allocations: 70.84 kB / 450.8 MB, free: 9.012 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2031, allocations: 301.5 kB / 451 MB, free: 8.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.2035, allocations: 463.3 kB / 451.5 MB, free: 8.379 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2035, allocations: 6.094 kB / 451.5 MB, free: 8.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000675/0.2042, allocations: 0.5656 MB / 452.1 MB, free: 8.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2042, allocations: 8 kB / 452.1 MB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2042, allocations: 8.625 kB / 452.1 MB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.2048, allocations: 286.5 kB / 452.4 MB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.2051, allocations: 128.9 kB / 452.5 MB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.208, allocations: 5.301 MB / 457.8 MB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.2083, allocations: 25.14 kB / 457.8 MB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.2083, allocations: 24 kB / 457.8 MB, free: 1.867 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.0001535/0.2084, allocations: 153.8 kB / 458 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.2085, allocations: 60.53 kB / 458 MB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.209, allocations: 461.7 kB / 458.5 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.209, allocations: 4 kB / 458.5 MB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.209, allocations: 4 kB / 458.5 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.209, allocations: 0 / 458.5 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009485/0.21, allocations: 0.8783 MB / 459.4 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.21, allocations: 1.969 kB / 459.4 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.2101, allocations: 55.92 kB / 459.4 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.2102, allocations: 80.44 kB / 459.5 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005712/0.2108, allocations: 283.5 kB / 459.8 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2108, allocations: 12.69 kB / 459.8 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.2136, allocations: 5.303 MB / 465.1 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2136, allocations: 3.938 kB / 465.1 MB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.2141, allocations: 0.5836 MB / 465.7 MB, free: 9.508 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.2142, allocations: 13.5 kB / 465.7 MB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.2143, allocations: 8.781 kB / 465.7 MB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.2144, allocations: 51.8 kB / 465.8 MB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.2144, allocations: 15.09 kB / 465.8 MB, free: 9.426 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.2146, allocations: 200.4 kB / 466 MB, free: 9.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2146, allocations: 0 / 466 MB, free: 9.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005545/0.2151, allocations: 231.9 kB / 466.2 MB, free: 9.004 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.0001207/0.2152, allocations: 101.3 kB / 466.3 MB, free: 8.895 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009513/0.2162, allocations: 0.8962 MB / 467.2 MB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.367e-05/0.2162, allocations: 16.48 kB / 467.2 MB, free: 7.945 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.2167, allocations: 0.7347 MB / 468 MB, free: 7.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.2178, allocations: 1.984 MB / 469.9 MB, free: 4.801 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.2232, allocations: 1.306 MB / 471.2 MB, free: 3.461 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.2234, allocations: 212.4 kB / 471.5 MB, free: 3.234 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002306/0.2236, allocations: 72.12 kB / 471.5 MB, free: 3.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.2239, allocations: 214.8 kB / 471.7 MB, free: 2.969 MB / 442.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2239, allocations: 0 / 471.7 MB, free: 2.969 MB / 442.7 MB Notification: Performance of Templates: time 0.02004/0.2439, allocations: 12.51 MB / 484.2 MB, free: 7 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.430183387361467]