Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 196.9 kB / 16.54 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 72.55 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1917, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002377/0.1941, allocations: 1.395 MB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1962, allocations: 1.928 MB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1963, allocations: 0 / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000926/0.1972, allocations: 393.8 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.1973, allocations: 23.84 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.137e-06/0.1973, allocations: 4 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1975, allocations: 115.2 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.1975, allocations: 21.5 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.1976, allocations: 43.8 kB / 0.7873 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1977, allocations: 59.77 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1977, allocations: 7.938 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.1982, allocations: 179.9 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.1982, allocations: 31.84 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.1983, allocations: 75.55 kB / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.1988, allocations: 291.1 kB / 0.7879 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1988, allocations: 4 kB / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1988, allocations: 0 / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.1988, allocations: 0 / 0.7879 GB, free: 8.758 MB / 0.6075 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.0006419/0.1994, allocations: 494.5 kB / 0.7884 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1995, allocations: 12.02 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.1995, allocations: 106 kB / 0.7885 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1997, allocations: 100 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1999, allocations: 299.2 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.2, allocations: 150.9 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.2, allocations: 154.9 kB / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.003e-05/0.2001, allocations: 108.9 kB / 0.7893 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.2001, allocations: 75.28 kB / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.2002, allocations: 150.6 kB / 0.7895 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.2002, allocations: 162.6 kB / 0.7897 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.2003, allocations: 150.6 kB / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.2006, allocations: 0.5017 MB / 0.7903 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.373e-05/0.2007, allocations: 169.1 kB / 0.7904 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.2007, allocations: 84.14 kB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2007, allocations: 79.22 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.2008, allocations: 105.8 kB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2008, allocations: 0 / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001641/0.201, allocations: 49.5 kB / 0.7907 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.201, allocations: 130.7 kB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.2013, allocations: 326.2 kB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2013, allocations: 29.7 kB / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.2014, allocations: 116.4 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.2014, allocations: 0 / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.2015, allocations: 61.69 kB / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2016, allocations: 334.8 kB / 0.7917 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.2017, allocations: 55.97 kB / 0.7918 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2018, allocations: 129.7 kB / 0.7919 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.202, allocations: 209.8 kB / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.202, allocations: 0 / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003935/0.2024, allocations: 241.2 kB / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2024, allocations: 4.219 kB / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2024, allocations: 8 kB / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2025, allocations: 0 / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.2025, allocations: 4 kB / 0.7923 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2025, allocations: 11.86 kB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2026, allocations: 31.53 kB / 0.7924 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.2026, allocations: 4 kB / 0.7924 GB, free: 3.906 MB / 0.6075 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.0001875/0.2028, allocations: 221.1 kB / 0.7926 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.2029, allocations: 124.7 kB / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.2029, allocations: 117.8 kB / 0.7928 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.198e-05/0.203, allocations: 180.3 kB / 0.793 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.772e-05/0.2031, allocations: 184.2 kB / 0.7932 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.434e-05/0.2031, allocations: 180.3 kB / 0.7933 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2034, allocations: 449.2 kB / 0.7938 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/0.2034, allocations: 112.8 kB / 0.7939 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.2035, allocations: 101 kB / 0.794 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.981e-05/0.2035, allocations: 180.2 kB / 0.7941 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/0.2036, allocations: 180.3 kB / 0.7943 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.304e-05/0.2036, allocations: 180.3 kB / 0.7945 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.607e-05/0.2037, allocations: 188.2 kB / 0.7947 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.2038, allocations: 311.6 kB / 0.795 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.2039, allocations: 209.7 kB / 0.7952 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.204, allocations: 176.3 kB / 0.7953 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2041, allocations: 104.9 kB / 0.7954 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.2042, allocations: 188.3 kB / 0.7956 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.2042, allocations: 105.2 kB / 0.7957 GB, free: 272 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001826/0.2044, allocations: 217.9 kB / 0.7959 GB, free: 56 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2044, allocations: 0 / 0.7959 GB, free: 56 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003472/0.2048, allocations: 60.05 kB / 0.796 GB, free: 15.99 MB / 0.6231 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.0005205/0.2053, allocations: 0.9266 MB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.2055, allocations: 108.1 kB / 0.797 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2055, allocations: 0 / 0.797 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-06/0.2055, allocations: 3.938 kB / 0.797 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2059, allocations: 460.2 kB / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.208, allocations: 2.425 MB / 0.7998 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.2083, allocations: 0.7431 MB / 0.8005 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.351e-05/0.2083, allocations: 4 kB / 0.8005 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.2084, allocations: 31.42 kB / 0.8005 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2084, allocations: 0 / 0.8005 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/0.3922, allocations: 4.805 MB / 0.8052 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.139, allocations: 14.38 kB / 0.8053 GB, free: 6.449 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)