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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 191 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 287.7 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.507 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 98.69 kB / 0.6059 GB, free: 24.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1799, allocations: 89.15 MB / 0.693 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002871/0.1828, allocations: 1.482 MB / 0.6944 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.1864, allocations: 2.642 MB / 0.697 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.1865, allocations: 0 / 0.697 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.1882, allocations: 0.5561 MB / 0.6975 GB, free: 56 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-05/0.1882, allocations: 15.91 kB / 0.6976 GB, free: 40 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.309e-06/0.1882, allocations: 4 kB / 0.6976 GB, free: 36 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.1886, allocations: 162.9 kB / 0.6977 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.157e-05/0.1886, allocations: 28.41 kB / 0.6977 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.29e-05/0.1887, allocations: 55.73 kB / 0.6978 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1889, allocations: 83.58 kB / 0.6979 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1889, allocations: 4 kB / 0.6979 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.1899, allocations: 495.2 kB / 0.6984 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.19, allocations: 43.75 kB / 0.6984 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1901, allocations: 91.44 kB / 0.6985 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.1907, allocations: 394.4 kB / 0.6989 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1907, allocations: 7.938 kB / 0.6989 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1907, allocations: 4 kB / 0.6989 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.1908, allocations: 0 / 0.6989 GB, free: 14.69 MB / 0.4981 GB 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.0008071/0.1916, allocations: 0.549 MB / 0.6994 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1916, allocations: 8.031 kB / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.1918, allocations: 103.8 kB / 0.6995 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.192, allocations: 302.4 kB / 0.6998 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/0.1921, allocations: 150.9 kB / 0.6999 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.1922, allocations: 158.9 kB / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.445e-05/0.1923, allocations: 109.5 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.1923, allocations: 75.47 kB / 0.7003 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.1924, allocations: 154.5 kB / 0.7004 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.1925, allocations: 150.6 kB / 0.7006 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.1926, allocations: 150.6 kB / 0.7007 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.193, allocations: 0.5367 MB / 0.7012 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.1931, allocations: 169.1 kB / 0.7014 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.1931, allocations: 84.08 kB / 0.7015 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.1932, allocations: 79.27 kB / 0.7015 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/0.1932, allocations: 113.8 kB / 0.7017 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.1932, allocations: 0 / 0.7017 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.000178/0.1934, allocations: 61.28 kB / 0.7017 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.1935, allocations: 126.7 kB / 0.7018 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.194, allocations: 437.2 kB / 0.7023 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.194, allocations: 29.7 kB / 0.7023 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.1941, allocations: 128.5 kB / 0.7024 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.1941, allocations: 0 / 0.7024 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1942, allocations: 97.66 kB / 0.7025 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1944, allocations: 338.8 kB / 0.7028 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1946, allocations: 100.5 kB / 0.7029 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.1948, allocations: 157.3 kB / 0.7031 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.1951, allocations: 309.6 kB / 0.7034 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1952, allocations: 0 / 0.7034 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005491/0.1957, allocations: 332.9 kB / 0.7037 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1957, allocations: 4 kB / 0.7037 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1958, allocations: 11.88 kB / 0.7037 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1958, allocations: 0 / 0.7037 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-06/0.1958, allocations: 7.938 kB / 0.7037 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1958, allocations: 3.938 kB / 0.7037 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.196, allocations: 47.36 kB / 0.7037 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.196, allocations: 8.219 kB / 0.7038 GB, free: 9.41 MB / 0.4981 GB 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.0002809/0.1963, allocations: 243 kB / 0.704 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.1964, allocations: 124.6 kB / 0.7041 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.566e-05/0.1965, allocations: 118.9 kB / 0.7042 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-05/0.1965, allocations: 180.2 kB / 0.7044 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-05/0.1966, allocations: 184.2 kB / 0.7046 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.051e-05/0.1967, allocations: 180.3 kB / 0.7047 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.1971, allocations: 477.1 kB / 0.7052 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.599e-05/0.1972, allocations: 101 kB / 0.7053 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.1972, allocations: 101 kB / 0.7054 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-05/0.1973, allocations: 184.2 kB / 0.7056 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-05/0.1974, allocations: 188.2 kB / 0.7057 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-05/0.1975, allocations: 184.2 kB / 0.7059 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.548e-05/0.1976, allocations: 176.3 kB / 0.7061 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1978, allocations: 327.4 kB / 0.7064 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.198, allocations: 205.8 kB / 0.7066 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1981, allocations: 188.1 kB / 0.7068 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1982, allocations: 105 kB / 0.7069 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.1983, allocations: 180.2 kB / 0.707 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.1984, allocations: 105 kB / 0.7071 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003014/0.1987, allocations: 279.1 kB / 0.7074 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1987, allocations: 4 kB / 0.7074 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004153/0.1991, allocations: 76 kB / 0.7075 GB, free: 5.359 MB / 0.4981 GB 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.0004403/0.1996, allocations: 305.5 kB / 0.7078 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1999, allocations: 163.9 kB / 0.7079 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1999, allocations: 0 / 0.7079 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.441e-06/0.1999, allocations: 4.375 kB / 0.7079 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.2004, allocations: 466.1 kB / 0.7084 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.2011, allocations: 0.5393 MB / 0.7089 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.2015, allocations: 0.782 MB / 0.7097 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.2016, allocations: 0 / 0.7097 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.2016, allocations: 11.44 kB / 0.7097 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2016, allocations: 0 / 0.7097 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of Templates: time 0.007136/0.2087, allocations: 2.91 MB / 0.7125 GB, free: 148 kB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)