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.001079/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001106/0.001106, allocations: 192.6 kB / 16.14 MB, free: 6.715 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.303/1.303, allocations: 205.1 MB / 222 MB, free: 4.754 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.594/1.594, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001393/0.001393, allocations: 71.33 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.197, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002343/0.1993, allocations: 1.467 MB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.2014, allocations: 1.912 MB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.2015, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.2023, allocations: 366.1 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.2023, allocations: 15.92 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.665e-06/0.2023, allocations: 4 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.2025, allocations: 143.1 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.2026, allocations: 17.5 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.2026, allocations: 43.8 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.2027, allocations: 63.7 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2027, allocations: 4 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.2031, allocations: 179.9 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.2032, allocations: 31.91 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.2033, allocations: 75.55 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.2037, allocations: 291.1 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2037, allocations: 0 / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.72e-07/0.2037, allocations: 0 / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2037, allocations: 0 / 0.7873 GB, free: 9.301 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.0006042/0.2043, allocations: 490.6 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2044, allocations: 8.031 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.2044, allocations: 110 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.2046, allocations: 104 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.2048, allocations: 291.2 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/0.2049, allocations: 154.9 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.2049, allocations: 150.9 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.334e-05/0.205, allocations: 108.9 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.2051, allocations: 83.27 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.2051, allocations: 154.6 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.2052, allocations: 154.6 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.437e-05/0.2053, allocations: 154.5 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.2056, allocations: 0.4978 MB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.2057, allocations: 173.1 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.2058, allocations: 80.14 kB / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.2058, allocations: 79.22 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.2059, allocations: 105.8 kB / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2059, allocations: 0 / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001836/0.2061, allocations: 57.5 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.2061, allocations: 130.6 kB / 0.7902 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.2065, allocations: 326.3 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2065, allocations: 25.7 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.2066, allocations: 124.3 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.2066, allocations: 0 / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.2066, allocations: 57.69 kB / 0.7907 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2068, allocations: 334.8 kB / 0.7911 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.2069, allocations: 59.95 kB / 0.7911 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.207, allocations: 130.4 kB / 0.7912 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.2073, allocations: 205.8 kB / 0.7914 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2073, allocations: 4 kB / 0.7914 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003898/0.2077, allocations: 233.2 kB / 0.7917 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2077, allocations: 4 kB / 0.7917 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2077, allocations: 7.938 kB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2077, allocations: 0 / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.2077, allocations: 4 kB / 0.7917 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2077, allocations: 4 kB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2079, allocations: 27.53 kB / 0.7917 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2079, allocations: 7.984 kB / 0.7917 GB, free: 4.461 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.0002133/0.2081, allocations: 229.9 kB / 0.7919 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.2082, allocations: 124.7 kB / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.2082, allocations: 109.9 kB / 0.7922 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.126e-05/0.2083, allocations: 188.2 kB / 0.7923 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-05/0.2084, allocations: 184.3 kB / 0.7925 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-05/0.2085, allocations: 184.2 kB / 0.7927 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2088, allocations: 449.1 kB / 0.7931 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-05/0.2088, allocations: 104.9 kB / 0.7932 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.2089, allocations: 108.9 kB / 0.7933 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.92e-05/0.2089, allocations: 180.3 kB / 0.7935 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.209, allocations: 176.3 kB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-05/0.2091, allocations: 188.2 kB / 0.7938 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.975e-05/0.2091, allocations: 176.3 kB / 0.794 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.2093, allocations: 323.6 kB / 0.7943 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.2094, allocations: 201.8 kB / 0.7945 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.2094, allocations: 188.2 kB / 0.7947 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.2096, allocations: 105 kB / 0.7948 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.2096, allocations: 184.1 kB / 0.795 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.2097, allocations: 101 kB / 0.7951 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001799/0.2099, allocations: 217.9 kB / 0.7953 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2099, allocations: 0 / 0.7953 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003315/0.2102, allocations: 64 kB / 0.7953 GB, free: 0.5352 MB / 0.6075 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.000546/0.2108, allocations: 0.9299 MB / 0.7962 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.2109, allocations: 103.9 kB / 0.7963 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2109, allocations: 0 / 0.7963 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.211, allocations: 0 / 0.7963 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.2114, allocations: 0.5272 MB / 0.7968 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2136, allocations: 2.442 MB / 0.7992 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2139, allocations: 0.7472 MB / 0.8 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.2139, allocations: 7.938 kB / 0.8 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.214, allocations: 35.42 kB / 0.8 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.214, allocations: 0 / 0.8 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.2272, allocations: 4.627 MB / 0.8045 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.2275, allocations: 228.4 kB / 0.8047 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.872, allocations: 0 / 0.8047 GB, free: 6.84 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)