Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0006655/0.0006655, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008373/0.001503, 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.0009458/0.0009458, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001975, 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.9266/0.9266, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08138/1.008, allocations: 53.65 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.001214/0.001214, allocations: 236.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008887/0.002103, allocations: 459.6 kB / 244.6 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.6861/0.6861, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06403/0.7501, allocations: 42.4 MB / 426.5 MB, free: 5.953 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.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 427.8 MB, free: 4.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.131e-05, allocations: 2.312 kB / 427.8 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001981/0.001993, allocations: 1.52 MB / 429.3 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.004539, allocations: 2.67 MB / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.004562, allocations: 0 / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1876/0.1922, allocations: 0.5586 MB / 432.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.1923, allocations: 27.19 kB / 432.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.1923, allocations: 0 / 432.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1925, allocations: 175.2 kB / 432.7 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.1926, allocations: 15.31 kB / 432.7 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1927, allocations: 91.23 kB / 432.8 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1928, allocations: 59.94 kB / 432.9 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1928, allocations: 3.156 kB / 432.9 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007997/0.1936, allocations: 421.9 kB / 433.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.1936, allocations: 37.11 kB / 433.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.1937, allocations: 56.81 kB / 433.4 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.1942, allocations: 407.5 kB / 433.8 MB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.1942, allocations: 0 / 433.8 MB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1942, allocations: 0 / 433.8 MB, free: 1.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.1942, allocations: 0 / 433.8 MB, free: 1.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006507/0.1949, allocations: 0.5802 MB / 434.4 MB, free: 16.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.1949, allocations: 11.31 kB / 434.4 MB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.195, allocations: 89.81 kB / 434.5 MB, free: 16.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1952, allocations: 241.2 kB / 434.7 MB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.1952, allocations: 154 kB / 434.8 MB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.1952, allocations: 155.2 kB / 435 MB, free: 16.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.426e-05/0.1953, allocations: 103.4 kB / 435.1 MB, free: 16.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.1953, allocations: 79.41 kB / 435.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.1953, allocations: 152.8 kB / 435.3 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.1954, allocations: 155.4 kB / 435.5 MB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.1954, allocations: 162.7 kB / 435.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1956, allocations: 373.9 kB / 436 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.059e-05/0.1957, allocations: 171.6 kB / 436.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.1957, allocations: 85.12 kB / 436.2 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1957, allocations: 76.03 kB / 436.3 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1957, allocations: 110.1 kB / 436.4 MB, free: 14.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.1957, allocations: 0 / 436.4 MB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001223/0.1959, allocations: 43.66 kB / 436.5 MB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1959, allocations: 130.9 kB / 436.6 MB, free: 14.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.1961, allocations: 342.9 kB / 436.9 MB, free: 14.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1962, allocations: 33.45 kB / 437 MB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.1962, allocations: 125.1 kB / 437.1 MB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1962, allocations: 0.5938 kB / 437.1 MB, free: 14.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.1963, allocations: 90.89 kB / 437.2 MB, free: 14.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.1964, allocations: 342.8 kB / 437.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.1964, allocations: 50.2 kB / 437.6 MB, free: 13.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.1965, allocations: 102.2 kB / 437.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1966, allocations: 212.9 kB / 437.9 MB, free: 13.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1966, allocations: 0.8125 kB / 437.9 MB, free: 13.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003319/0.197, allocations: 249.3 kB / 438.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.197, allocations: 8.328 kB / 438.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.197, allocations: 1.062 kB / 438.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.197, allocations: 3.141 kB / 438.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-06/0.197, allocations: 5.703 kB / 438.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.197, allocations: 2.219 kB / 438.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1971, allocations: 45.22 kB / 438.2 MB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1971, allocations: 3.906 kB / 438.2 MB, free: 13.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1972, allocations: 202.4 kB / 438.4 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.1973, allocations: 113 kB / 438.5 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.1973, allocations: 114.3 kB / 438.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.42e-05/0.1974, allocations: 178.8 kB / 438.8 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-05/0.1974, allocations: 183 kB / 439 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-05/0.1974, allocations: 185.3 kB / 439.1 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.1976, allocations: 366.1 kB / 439.5 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/0.1976, allocations: 106.8 kB / 439.6 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.1976, allocations: 102.7 kB / 439.7 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1977, allocations: 132.8 kB / 439.8 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/0.1977, allocations: 181.5 kB / 440 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.1978, allocations: 182.2 kB / 440.2 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.713e-05/0.1978, allocations: 184.3 kB / 440.4 MB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.949e-05/0.1978, allocations: 181.9 kB / 440.5 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.041e-05/0.1979, allocations: 309.2 kB / 440.8 MB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.198, allocations: 182.9 kB / 441 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.198, allocations: 104.6 kB / 441.1 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1981, allocations: 183.6 kB / 441.3 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1981, allocations: 106.9 kB / 441.4 MB, free: 10.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.274e-05/0.1982, allocations: 120.4 kB / 441.5 MB, free: 10.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1982, allocations: 0 / 441.5 MB, free: 10.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003039/0.1985, allocations: 87.33 kB / 441.6 MB, free: 10.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002989/0.1988, allocations: 306.6 kB / 441.9 MB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.1989, allocations: 81.67 kB / 442 MB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1989, allocations: 3.719 kB / 442 MB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1989, allocations: 1.156 kB / 442 MB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1992, allocations: 492.4 kB / 442.5 MB, free: 9.859 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.2011, allocations: 451.3 kB / 442.9 MB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.209e-05/0.2012, allocations: 91 kB / 443 MB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.175e-05/0.2012, allocations: 3.172 kB / 443 MB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.2012, allocations: 57.77 kB / 443.1 MB, free: 9.445 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2012, allocations: 3.938 kB / 443.1 MB, free: 9.441 MB / 426.7 MB Notification: Performance of Templates: time 0.006214/0.2074, allocations: 4.386 MB / 447.4 MB, free: 8.906 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4559280518442392]