Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0009696/0.0009696, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.00226, allocations: 435.8 kB / 10.33 MB, free: 368 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.001043/0.001043, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002337, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9068/0.9068, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08085/0.9877, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.002071/0.002071, allocations: 241.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.00363, allocations: 467.5 kB / 244.7 MB, free: 14.18 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.6781/0.6781, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08063/0.7587, allocations: 42.4 MB / 426.5 MB, free: 5.965 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 427.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/1.106e-05, allocations: 2.312 kB / 427.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003456/0.003467, allocations: 4.15 MB / 431.9 MB, free: 484 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.1693, allocations: 1.565 MB / 433.5 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.1695, allocations: 33.59 kB / 433.5 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.17, allocations: 195.5 kB / 433.7 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005467/0.1705, allocations: 417 kB / 434.1 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.171, allocations: 322.7 kB / 434.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007847/0.1718, allocations: 1.043 MB / 435.5 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.1722, allocations: 383 kB / 435.9 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.1728, allocations: 0.5652 MB / 436.4 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005095/0.1733, allocations: 406 kB / 436.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.1734, allocations: 47.47 kB / 436.9 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.1737, allocations: 134 kB / 437 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.1738, allocations: 238.5 kB / 437.2 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.1741, allocations: 201.6 kB / 437.4 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.1746, allocations: 0.549 MB / 438 MB, free: 492 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.1746, allocations: 0 / 438 MB, free: 492 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1746, allocations: 0 / 438 MB, free: 492 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.1746, allocations: 2.781 kB / 438 MB, free: 492 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001032/0.1757, allocations: 1.002 MB / 439 MB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1757, allocations: 11.12 kB / 439 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007146/0.1764, allocations: 302.6 kB / 439.3 MB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.1769, allocations: 438.3 kB / 439.7 MB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1769, allocations: 36.89 kB / 439.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.177, allocations: 57.52 kB / 439.8 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.1777, allocations: 0.6976 MB / 440.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1777, allocations: 3.438 kB / 440.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.1777, allocations: 29.8 kB / 440.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.1778, allocations: 64.84 kB / 440.6 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1781, allocations: 204.1 kB / 440.8 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.1801, allocations: 3.036 MB / 443.8 MB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1803, allocations: 164.4 kB / 444 MB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.1803, allocations: 70.55 kB / 444.1 MB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1804, allocations: 6.75 kB / 444.1 MB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1804, allocations: 36.69 kB / 444.1 MB, free: 12.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.1804, allocations: 0.625 kB / 444.1 MB, free: 12.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.00161/0.182, allocations: 0.9876 MB / 445.1 MB, free: 12.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.182, allocations: 55.12 kB / 445.2 MB, free: 12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1822, allocations: 394.2 kB / 445.5 MB, free: 11.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1823, allocations: 33.98 kB / 445.6 MB, free: 11.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1824, allocations: 313.8 kB / 445.9 MB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.1825, allocations: 131.1 kB / 446 MB, free: 11.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.1825, allocations: 94.59 kB / 446.1 MB, free: 11.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.1826, allocations: 359.8 kB / 446.5 MB, free: 11.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.1827, allocations: 62.7 kB / 446.5 MB, free: 11.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1828, allocations: 228.5 kB / 446.7 MB, free: 10.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.1831, allocations: 351.4 kB / 447.1 MB, free: 10.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1831, allocations: 7.219 kB / 447.1 MB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004623/0.1836, allocations: 417.3 kB / 447.5 MB, free: 10.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1836, allocations: 9.969 kB / 447.5 MB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1836, allocations: 8.375 kB / 447.5 MB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.184, allocations: 151 kB / 447.7 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.1842, allocations: 118.2 kB / 447.8 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.1857, allocations: 2.642 MB / 450.4 MB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.1859, allocations: 14.75 kB / 450.4 MB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1859, allocations: 18.47 kB / 450.4 MB, free: 8.055 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.186, allocations: 148.5 kB / 450.6 MB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.1861, allocations: 46.14 kB / 450.6 MB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.1865, allocations: 328.7 kB / 451 MB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1865, allocations: 3.812 kB / 451 MB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1865, allocations: 1.969 kB / 451 MB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1865, allocations: 1.375 kB / 451 MB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007483/0.1872, allocations: 0.6899 MB / 451.7 MB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1873, allocations: 1.094 kB / 451.7 MB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.1874, allocations: 66.78 kB / 451.7 MB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.1875, allocations: 71.39 kB / 451.8 MB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/0.1879, allocations: 147.3 kB / 451.9 MB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1879, allocations: 7.875 kB / 451.9 MB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.1893, allocations: 2.647 MB / 454.6 MB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1893, allocations: 2.156 kB / 454.6 MB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.1898, allocations: 0.5238 MB / 455.1 MB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.1898, allocations: 8.844 kB / 455.1 MB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1899, allocations: 8 kB / 455.1 MB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.19, allocations: 33.23 kB / 455.2 MB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.19, allocations: 8 kB / 455.2 MB, free: 4.086 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1901, allocations: 165.5 kB / 455.3 MB, free: 3.945 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1901, allocations: 4.594 kB / 455.3 MB, free: 3.941 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.1905, allocations: 152 kB / 455.5 MB, free: 3.793 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001119/0.1906, allocations: 95.27 kB / 455.6 MB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.1911, allocations: 0.52 MB / 456.1 MB, free: 3.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/0.1911, allocations: 8 kB / 456.1 MB, free: 3.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.1913, allocations: 387.9 kB / 456.5 MB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.1918, allocations: 212.8 kB / 456.7 MB, free: 2.566 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.1956, allocations: 1.078 MB / 457.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.1958, allocations: 174.2 kB / 457.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.1959, allocations: 63.91 kB / 458 MB, free: 1.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.1962, allocations: 177.2 kB / 458.2 MB, free: 1.055 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1962, allocations: 0 / 458.2 MB, free: 1.055 MB / 426.7 MB Notification: Performance of Templates: time 0.01067/0.2068, allocations: 8.897 MB / 467.1 MB, free: 8.672 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3306759484112263]