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.0007838/0.0007878, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005253/0.005253, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.344/1.344, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.647/1.647, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004919/0.0004919, allocations: 13.44 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1907, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001337/0.192, allocations: 1.132 MB / 0.7891 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1941, allocations: 1.889 MB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.1941, allocations: 3.938 kB / 0.7909 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008132/0.1949, allocations: 365.3 kB / 0.7913 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.195, allocations: 19.91 kB / 0.7913 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.066e-06/0.195, allocations: 0 / 0.7913 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1952, allocations: 139.2 kB / 0.7914 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1952, allocations: 17.5 kB / 0.7915 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.1953, allocations: 51.73 kB / 0.7915 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.85e-05/0.1954, allocations: 59.77 kB / 0.7916 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1954, allocations: 4 kB / 0.7916 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.1958, allocations: 179.8 kB / 0.7917 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.1959, allocations: 35.88 kB / 0.7918 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.1959, allocations: 93.27 kB / 0.7919 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.1963, allocations: 283.2 kB / 0.7921 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1963, allocations: 4 kB / 0.7921 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1963, allocations: 0 / 0.7921 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.1963, allocations: 3.938 kB / 0.7921 GB, free: 7.227 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.0005764/0.1969, allocations: 482.6 kB / 0.7926 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.197, allocations: 8.031 kB / 0.7926 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.197, allocations: 106 kB / 0.7927 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1972, allocations: 99.94 kB / 0.7928 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1974, allocations: 291.3 kB / 0.7931 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.1974, allocations: 162.9 kB / 0.7932 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.1975, allocations: 150.9 kB / 0.7934 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.26e-05/0.1975, allocations: 104.9 kB / 0.7935 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.1976, allocations: 79.28 kB / 0.7936 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.1976, allocations: 154.6 kB / 0.7937 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.1977, allocations: 150.6 kB / 0.7938 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.1977, allocations: 158.5 kB / 0.794 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.198, allocations: 0.5016 MB / 0.7945 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.1981, allocations: 173.1 kB / 0.7947 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.1981, allocations: 80.14 kB / 0.7947 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1982, allocations: 79.22 kB / 0.7948 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.1982, allocations: 105.8 kB / 0.7949 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.1982, allocations: 4 kB / 0.7949 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001572/0.1984, allocations: 53.34 kB / 0.795 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1984, allocations: 130.7 kB / 0.7951 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1987, allocations: 318.4 kB / 0.7954 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1988, allocations: 29.69 kB / 0.7954 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.1988, allocations: 116.4 kB / 0.7955 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.1988, allocations: 0 / 0.7955 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.1989, allocations: 45.69 kB / 0.7956 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.199, allocations: 330.8 kB / 0.7959 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.1991, allocations: 63.95 kB / 0.7959 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1992, allocations: 122.4 kB / 0.7961 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1994, allocations: 213.8 kB / 0.7963 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1994, allocations: 3.938 kB / 0.7963 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003718/0.1998, allocations: 233.2 kB / 0.7965 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1998, allocations: 8.219 kB / 0.7965 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1998, allocations: 4 kB / 0.7965 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1998, allocations: 4 kB / 0.7965 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-06/0.1998, allocations: 3.938 kB / 0.7965 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1999, allocations: 4 kB / 0.7965 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2, allocations: 31.52 kB / 0.7965 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2, allocations: 8 kB / 0.7966 GB, free: 2.414 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.0001553/0.2002, allocations: 223.9 kB / 0.7968 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.2002, allocations: 132.7 kB / 0.7969 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.2003, allocations: 109.9 kB / 0.797 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.612e-05/0.2003, allocations: 180.2 kB / 0.7972 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.208e-05/0.2004, allocations: 184.2 kB / 0.7973 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.123e-05/0.2004, allocations: 184.2 kB / 0.7975 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.2007, allocations: 453.1 kB / 0.798 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/0.2007, allocations: 108.9 kB / 0.7981 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.2008, allocations: 101 kB / 0.7982 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.135e-05/0.2008, allocations: 184.2 kB / 0.7983 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.2009, allocations: 176.3 kB / 0.7985 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-05/0.2009, allocations: 180.2 kB / 0.7987 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-05/0.201, allocations: 180.3 kB / 0.7988 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.2011, allocations: 327.5 kB / 0.7992 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.2012, allocations: 193.8 kB / 0.7993 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.2013, allocations: 184.2 kB / 0.7995 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2014, allocations: 117 kB / 0.7996 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.2014, allocations: 180.2 kB / 0.7998 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2015, allocations: 101 kB / 0.7999 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001779/0.2017, allocations: 217.9 kB / 0.8001 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2017, allocations: 0 / 0.8001 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003101/0.202, allocations: 64 kB / 0.8002 GB, free: 14.5 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.000525/0.2025, allocations: 0.9259 MB / 0.8011 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.2027, allocations: 108 kB / 0.8012 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2027, allocations: 3.938 kB / 0.8012 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2027, allocations: 0 / 0.8012 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2031, allocations: 0.523 MB / 0.8017 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.2053, allocations: 2.457 MB / 0.8041 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2055, allocations: 0.7394 MB / 0.8048 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.061e-05/0.2055, allocations: 0 / 0.8048 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.2056, allocations: 35.61 kB / 0.8048 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2056, allocations: 4 kB / 0.8048 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.2184, allocations: 4.547 MB / 0.8093 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.2186, allocations: 232 kB / 0.8095 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/1.816, allocations: 3 kB / 0.8095 GB, free: 4.902 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)