Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001805/0.001805, allocations: 195.1 kB / 16.14 MB, free: 6.637 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 274.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003997/0.003997, allocations: 100.6 kB / 0.6057 GB, free: 25.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1907, allocations: 89.16 MB / 0.6928 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00264/0.1934, allocations: 1.454 MB / 0.6942 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.1957, allocations: 1.916 MB / 0.6961 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.1958, allocations: 0 / 0.6961 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009136/0.1967, allocations: 364.7 kB / 0.6964 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.1967, allocations: 15.91 kB / 0.6964 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.725e-06/0.1968, allocations: 0 / 0.6964 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.197, allocations: 143.1 kB / 0.6966 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.197, allocations: 17.5 kB / 0.6966 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.1971, allocations: 39.88 kB / 0.6966 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1972, allocations: 71.64 kB / 0.6967 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1972, allocations: 4 kB / 0.6967 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.1977, allocations: 175.9 kB / 0.6969 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.1978, allocations: 39.77 kB / 0.6969 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1979, allocations: 67.61 kB / 0.697 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.1984, allocations: 287.1 kB / 0.6973 GB, free: 296 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1984, allocations: 0 / 0.6973 GB, free: 296 kB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1984, allocations: 0 / 0.6973 GB, free: 296 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1984, allocations: 4 kB / 0.6973 GB, free: 292 kB / 494.1 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.0007218/0.1991, allocations: 0.4907 MB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1992, allocations: 8.031 kB / 0.6977 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.1993, allocations: 96.03 kB / 0.6978 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1996, allocations: 283.4 kB / 0.6981 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.1996, allocations: 154.9 kB / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.1997, allocations: 158.9 kB / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.236e-05/0.1998, allocations: 113 kB / 0.6985 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.1998, allocations: 79.28 kB / 0.6986 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.1999, allocations: 154.5 kB / 0.6987 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.2, allocations: 150.6 kB / 0.6989 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.2, allocations: 154.6 kB / 0.699 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.2004, allocations: 0.5093 MB / 0.6995 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.2005, allocations: 169.1 kB / 0.6997 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.2006, allocations: 80.14 kB / 0.6998 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.2006, allocations: 75.28 kB / 0.6998 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.2007, allocations: 113.8 kB / 0.6999 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.422e-06/0.2007, allocations: 4 kB / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001736/0.2009, allocations: 45.52 kB / 0.7 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.2009, allocations: 134.6 kB / 0.7001 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.2013, allocations: 318.3 kB / 0.7004 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2013, allocations: 25.7 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.2014, allocations: 128.3 kB / 0.7006 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.2014, allocations: 0 / 0.7006 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.2015, allocations: 57.69 kB / 0.7006 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2016, allocations: 334.8 kB / 0.7009 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.2017, allocations: 59.97 kB / 0.701 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.2019, allocations: 114 kB / 0.7011 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.2022, allocations: 217.8 kB / 0.7013 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2022, allocations: 0 / 0.7013 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000429/0.2026, allocations: 233.2 kB / 0.7015 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2026, allocations: 9.719 kB / 0.7016 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2026, allocations: 0 / 0.7016 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2027, allocations: 4 kB / 0.7016 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.2027, allocations: 0 / 0.7016 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.2027, allocations: 16.14 kB / 0.7016 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2028, allocations: 23.59 kB / 0.7016 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.2028, allocations: 7.938 kB / 0.7016 GB, free: 11.57 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.0002016/0.203, allocations: 229 kB / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.2031, allocations: 116.7 kB / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.2032, allocations: 117.8 kB / 0.702 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.385e-05/0.2033, allocations: 180.3 kB / 0.7022 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.582e-05/0.2033, allocations: 188.2 kB / 0.7024 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-05/0.2034, allocations: 180.4 kB / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.2037, allocations: 445.2 kB / 0.703 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/0.2038, allocations: 112.8 kB / 0.7031 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.2038, allocations: 104.9 kB / 0.7032 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.779e-05/0.2039, allocations: 192.2 kB / 0.7034 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.204, allocations: 180.3 kB / 0.7036 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.301e-05/0.2041, allocations: 176.3 kB / 0.7037 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.216e-05/0.2042, allocations: 184.2 kB / 0.7039 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.2043, allocations: 323.6 kB / 0.7042 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.2045, allocations: 201.7 kB / 0.7044 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.2046, allocations: 176.3 kB / 0.7046 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2047, allocations: 108.9 kB / 0.7047 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.2048, allocations: 176.3 kB / 0.7048 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.2048, allocations: 108.9 kB / 0.7049 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002183/0.2051, allocations: 217.9 kB / 0.7052 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2051, allocations: 0 / 0.7052 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003358/0.2054, allocations: 64 kB / 0.7052 GB, free: 7.645 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.000324/0.2057, allocations: 270.4 kB / 0.7055 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.2059, allocations: 99.89 kB / 0.7056 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.206, allocations: 3.938 kB / 0.7056 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.206, allocations: 0 / 0.7056 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.2064, allocations: 0.5351 MB / 0.7061 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.2069, allocations: 426.8 kB / 0.7065 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.2073, allocations: 0.7355 MB / 0.7072 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.426e-05/0.2073, allocations: 7.984 kB / 0.7072 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.2074, allocations: 11.44 kB / 0.7072 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2074, allocations: 0 / 0.7072 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of Templates: time 0.005607/0.213, allocations: 2.25 MB / 0.7094 GB, free: 3.27 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)