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.0006306/0.0006306, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008662/0.001497, 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.0006813/0.0006813, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009007/0.001582, 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.8991/0.8991, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08639/0.9855, 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.001415/0.001415, allocations: 222.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002652, allocations: 487.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.7361/0.7361, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0961/0.8322, allocations: 42.41 MB / 426.7 MB, free: 5.82 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.373e-06/1.373e-06, allocations: 0 / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.962e-05, allocations: 2.312 kB / 428 MB, free: 4.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00196/0.00198, allocations: 1.524 MB / 429.6 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.003916, allocations: 2.678 MB / 432.2 MB, free: 288 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.003935, allocations: 0 / 432.2 MB, free: 288 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1898/0.1938, allocations: 0.5609 MB / 432.8 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.1938, allocations: 21.75 kB / 432.8 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.1938, allocations: 0.5938 kB / 432.8 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1941, allocations: 176.2 kB / 433 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/0.1941, allocations: 18.59 kB / 433 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1943, allocations: 88.67 kB / 433.1 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1944, allocations: 59.95 kB / 433.1 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1944, allocations: 2 kB / 433.2 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009312/0.1953, allocations: 422.8 kB / 433.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.1954, allocations: 36.06 kB / 433.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/0.1955, allocations: 52.56 kB / 433.7 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.196, allocations: 411.9 kB / 434.1 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.196, allocations: 0.9844 kB / 434.1 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.196, allocations: 0 / 434.1 MB, free: 1.094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.196, allocations: 0 / 434.1 MB, free: 1.094 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.0007127/0.1968, allocations: 0.5746 MB / 434.6 MB, free: 16.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.1968, allocations: 12.38 kB / 434.6 MB, free: 16.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.1969, allocations: 94.77 kB / 434.7 MB, free: 16.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.1971, allocations: 235.8 kB / 435 MB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.1971, allocations: 161.7 kB / 435.1 MB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.1972, allocations: 151.6 kB / 435.3 MB, free: 16.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.374e-05/0.1972, allocations: 102 kB / 435.4 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1972, allocations: 77.73 kB / 435.4 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.1973, allocations: 155.5 kB / 435.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.1973, allocations: 168 kB / 435.8 MB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.1974, allocations: 161.2 kB / 435.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.1976, allocations: 376.9 kB / 436.3 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.334e-05/0.1976, allocations: 168.8 kB / 436.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.1976, allocations: 82.31 kB / 436.5 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1977, allocations: 78.84 kB / 436.6 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1977, allocations: 108.9 kB / 436.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.1977, allocations: 2.25 kB / 436.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001346/0.1978, allocations: 41.98 kB / 436.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1979, allocations: 128.1 kB / 436.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1981, allocations: 348.6 kB / 437.2 MB, free: 14.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1981, allocations: 28.98 kB / 437.3 MB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.1982, allocations: 129.8 kB / 437.4 MB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.1982, allocations: 0.9688 kB / 437.4 MB, free: 14.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.1983, allocations: 86.39 kB / 437.5 MB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.1984, allocations: 347.9 kB / 437.8 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.1984, allocations: 50.56 kB / 437.9 MB, free: 13.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.1985, allocations: 98.67 kB / 437.9 MB, free: 13.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.1987, allocations: 211 kB / 438.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1987, allocations: 1.875 kB / 438.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003615/0.199, allocations: 251.1 kB / 438.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.199, allocations: 6.672 kB / 438.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.199, allocations: 2.781 kB / 438.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1991, allocations: 1.312 kB / 438.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-06/0.1991, allocations: 3.547 kB / 438.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1991, allocations: 5.25 kB / 438.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1992, allocations: 48.77 kB / 438.5 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.1992, allocations: 3.938 kB / 438.5 MB, free: 13.66 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.0001089/0.1993, allocations: 199.9 kB / 438.7 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.1994, allocations: 113.8 kB / 438.8 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.1994, allocations: 118 kB / 438.9 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-05/0.1994, allocations: 181.8 kB / 439.1 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.402e-05/0.1995, allocations: 185.8 kB / 439.3 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-05/0.1995, allocations: 179.9 kB / 439.4 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.1997, allocations: 365.6 kB / 439.8 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/0.1998, allocations: 105.9 kB / 439.9 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.1998, allocations: 105.5 kB / 440 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.1998, allocations: 131.7 kB / 440.1 MB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.373e-05/0.1999, allocations: 181.3 kB / 440.3 MB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/0.1999, allocations: 181.2 kB / 440.5 MB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-05/0.2, allocations: 180.8 kB / 440.7 MB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.229e-05/0.2, allocations: 180.2 kB / 440.8 MB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.2001, allocations: 311.4 kB / 441.1 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/0.2002, allocations: 188.5 kB / 441.3 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2003, allocations: 103.7 kB / 441.4 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.2003, allocations: 183.2 kB / 441.6 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.2004, allocations: 104.7 kB / 441.7 MB, free: 10.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.2005, allocations: 120.4 kB / 441.8 MB, free: 10.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2005, allocations: 0 / 441.8 MB, free: 10.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.2008, allocations: 82.8 kB / 441.9 MB, free: 10.41 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.0003362/0.2012, allocations: 309.7 kB / 442.2 MB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.2013, allocations: 86.77 kB / 442.3 MB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.2013, allocations: 3.891 kB / 442.3 MB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.2013, allocations: 0.7188 kB / 442.3 MB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.2016, allocations: 491.2 kB / 442.8 MB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.2041, allocations: 450.4 kB / 443.2 MB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.989e-05/0.2042, allocations: 90.91 kB / 443.3 MB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.224e-05/0.2042, allocations: 3.406 kB / 443.3 MB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.2042, allocations: 59.59 kB / 443.4 MB, free: 9.375 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2042, allocations: 0 / 443.4 MB, free: 9.375 MB / 426.7 MB Notification: Performance of Templates: time 0.008031/0.2122, allocations: 4.376 MB / 447.7 MB, free: 8.785 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.5154419420287013]